]> Creatis software - creaImageIO.git/commitdiff
Bug #1840
authorClaire Mouton <claire.mouton@creatis.insa-lyon.fr>
Thu, 29 Nov 2012 18:09:24 +0000 (19:09 +0100)
committerClaire Mouton <claire.mouton@creatis.insa-lyon.fr>
Thu, 29 Nov 2012 18:09:24 +0000 (19:09 +0100)
Compilation error due to boost upgrade.

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" )