]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIODicomImageReader.cpp
Bug #1840
[creaImageIO.git] / src / creaImageIODicomImageReader.cpp
index 70736d94278aa83d86691e2c03d6f44c4620b06c..0e92f024b2fa9c4ce74df31f66f4cea4b28c29eb 100644 (file)
@@ -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" )