diff Core/Toolbox.cpp @ 1494:a13581480b1f

fix mingw build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Aug 2015 10:07:53 +0200
parents e460341872dc
children d6a93e12b1c1
line wrap: on
line diff
--- a/Core/Toolbox.cpp	Tue Aug 04 14:58:56 2015 +0200
+++ b/Core/Toolbox.cpp	Wed Aug 05 10:07:53 2015 +0200
@@ -437,7 +437,7 @@
     {
       return static_cast<uint64_t>(boost::filesystem::file_size(path));
     }
-    catch (boost::filesystem::filesystem_error)
+    catch (boost::filesystem::filesystem_error&)
     {
       throw OrthancException(ErrorCode_InexistentFile);
     }