comparison 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
comparison
equal deleted inserted replaced
1493:9a1c7293955b 1494:a13581480b1f
435 { 435 {
436 try 436 try
437 { 437 {
438 return static_cast<uint64_t>(boost::filesystem::file_size(path)); 438 return static_cast<uint64_t>(boost::filesystem::file_size(path));
439 } 439 }
440 catch (boost::filesystem::filesystem_error) 440 catch (boost::filesystem::filesystem_error&)
441 { 441 {
442 throw OrthancException(ErrorCode_InexistentFile); 442 throw OrthancException(ErrorCode_InexistentFile);
443 } 443 }
444 } 444 }
445 445