changeset 133:55e9dde3faee

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 24 Mar 2018 12:03:18 +0100
parents de866753a5fa
children fe86687b07a5
files Resources/Orthanc/Core/SystemToolbox.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }