# HG changeset patch # User Sebastien Jodogne # Date 1521889372 -3600 # Node ID 2717a88723961050991020f2c64cf0ed0965b6da # Parent de6eb6d0d34d2f82259e50790d5ea68fa637a522 fix diff -r de6eb6d0d34d -r 2717a8872396 Core/SystemToolbox.cpp --- a/Core/SystemToolbox.cpp Sat Mar 24 11:34:09 2018 +0100 +++ b/Core/SystemToolbox.cpp Sat Mar 24 12:02:52 2018 +0100 @@ -182,7 +182,7 @@ { if (!IsRegularFile(path)) { - LOG(ERROR) << std::string("The path does not point to a regular file: ") << path; + LOG(ERROR) << "The path does not point to a regular file: " << path; throw OrthancException(ErrorCode_RegularFileExpected); } @@ -210,7 +210,7 @@ { if (!IsRegularFile(path)) { - LOG(ERROR) << std::string("The path does not point to a regular file: ") << path; + LOG(ERROR) << "The path does not point to a regular file: " << path; throw OrthancException(ErrorCode_RegularFileExpected); }