Mercurial > hg > orthanc-stone
diff Resources/Orthanc/Core/SystemToolbox.cpp @ 202:e7f90aba3c97
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 26 Mar 2018 18:10:34 +0200 |
parents | 03afbee0cc7b |
children | 795d71f66f31 |
line wrap: on
line diff
--- a/Resources/Orthanc/Core/SystemToolbox.cpp Fri Mar 23 11:59:22 2018 +0100 +++ b/Resources/Orthanc/Core/SystemToolbox.cpp Mon Mar 26 18:10:34 2018 +0200 @@ -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); }