From 42cd1f59493627931b5068f3dceb401abc4b8c4c Mon Sep 17 00:00:00 2001 From: Claire Mouton Date: Thu, 29 Nov 2012 19:09:24 +0100 Subject: [PATCH] Bug #1840 Compilation error due to boost upgrade. --- src/creaImageIODicomImageReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ) -- 2.45.0