]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIODicomScanner.cpp
Bug 1805:
[creaImageIO.git] / src / creaImageIODicomScanner.cpp
index 7b1b0b7d4cadfd5ec603aacb43072412ff0e3217..8e71e83e9bee22de08fc2a5698a80ab41ba9598c 100644 (file)
@@ -176,7 +176,7 @@ void DicomImageScanner::ReadAttributes(const std::string& filename,
                        if ( attr.find("D0004_1500") != attr.end())
                        {
                                boost::filesystem::path full_path(filename);
-                               std::string f = full_path.leaf();
+                               std::string f = full_path.leaf().string();
                                attr["D0004_1500"] = f;
                        }
                        if ( attr.find("FullFileName")!= attr.end())