X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilm.cc;h=8720e79e46c86e6d053dc9abbcd3f7cda844ce79;hb=55e5d61e68d9ee95594562f911c9db0397246fbe;hp=e7ea770236109b6ea35f00d0d248a67a16138bcb;hpb=de4d3d0fdda0f20ccab06877444fc1e5ff362f93;p=dcpomatic.git diff --git a/src/lib/film.cc b/src/lib/film.cc index e7ea77023..8720e79e4 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -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;