X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIODicomImageReader.cpp;h=0e92f024b2fa9c4ce74df31f66f4cea4b28c29eb;hb=42cd1f59493627931b5068f3dceb401abc4b8c4c;hp=70736d94278aa83d86691e2c03d6f44c4620b06c;hpb=dd6cfbad206f1743fc7226c43b835b782c1f46ee;p=creaImageIO.git 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" )