changeset 2503:2717a8872396

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 24 Mar 2018 12:02:52 +0100
parents de6eb6d0d34d
children 78862372ea88
files Core/SystemToolbox.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }