From: Claire Mouton Date: Thu, 29 Nov 2012 18:09:24 +0000 (+0100) Subject: Bug #1840 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaImageIO.git;a=commitdiff_plain;h=42cd1f59493627931b5068f3dceb401abc4b8c4c Bug #1840 Compilation error due to boost upgrade. --- diff --git a/src/creaImageIODicomImageReader.cpp b/src/creaImageIODicomImageReader.cpp index 70736d9..0e92f02 100644 --- a/src/creaImageIODicomImageReader.cpp +++ b/src/creaImageIODicomImageReader.cpp @@ -163,7 +163,7 @@ namespace creaImageIO if ( i->first == "D0004_1500" ) { boost::filesystem::path full_path(filename); - std::string f = full_path.leaf(); + std::string f = full_path.leaf().string(); i->second = f; } else if ( i->first == "FullFileName" )