Insist on boost 1.45 and hence filesystem v3 now that libdcp requires it.
[dcpomatic.git] / src / lib / film.cc
index e7ea770236109b6ea35f00d0d248a67a16138bcb..8720e79e46c86e6d053dc9abbcd3f7cda844ce79 100644 (file)
@@ -810,16 +810,8 @@ Film::set_content (string c)
 {
        string check = directory ();
 
-#if BOOST_FILESYSTEM_VERSION == 3
        boost::filesystem::path slash ("/");
        string platform_slash = slash.make_preferred().string ();
-#else
-#ifdef DVDOMATIC_WINDOWS
-       string platform_slash = "\\";
-#else
-       string platform_slash = "/";
-#endif
-#endif 
 
        if (!ends_with (check, platform_slash)) {
                check += platform_slash;