]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOVtkImageReader.cpp
Bug 1805:
[creaImageIO.git] / src / creaImageIOVtkImageReader.cpp
index e2b7eb29d976c96a0a89a030d8ed0f988977cd04..9cf160b0634f0c6da5475d4c86a100540e3aeadb 100644 (file)
@@ -175,7 +175,7 @@ namespace creaImageIO{
     if ( (i = 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();
        i->second = f;
       }
     if ( (i = attr.find("D0028_0010")) != attr.end())