diff options
Diffstat (limited to 'intern/cycles/util/util_path.cpp')
-rw-r--r-- | intern/cycles/util/util_path.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/intern/cycles/util/util_path.cpp b/intern/cycles/util/util_path.cpp index 717aa34c426..53dbfe9a42c 100644 --- a/intern/cycles/util/util_path.cpp +++ b/intern/cycles/util/util_path.cpp @@ -26,8 +26,6 @@ OIIO_NAMESPACE_USING #include <stdio.h> -#define BOOST_FILESYSTEM_VERSION 2 - #include <boost/filesystem.hpp> #include <boost/algorithm/string.hpp> @@ -60,7 +58,7 @@ string path_user_get(const string& sub) string path_filename(const string& path) { - return boost::filesystem::path(path).filename(); + return boost::filesystem::path(path).filename().string(); } string path_dirname(const string& path) |