# HG changeset patch # User Sebastien Jodogne # Date 1521889398 -3600 # Node ID 55e9dde3faee21394f710a1b66bcc46a3fc6beb7 # Parent de866753a5faf9b791bda222582952c927a90492 sync diff -r de866753a5fa -r 55e9dde3faee Resources/Orthanc/Core/SystemToolbox.cpp --- a/Resources/Orthanc/Core/SystemToolbox.cpp Sat Mar 24 11:35:20 2018 +0100 +++ b/Resources/Orthanc/Core/SystemToolbox.cpp Sat Mar 24 12:03:18 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); }