Insist on boost 1.45 and hence filesystem v3 now that libdcp requires it.
[dcpomatic.git] / src / lib / util.cc
index ce89d5355527dfcd137ddcf4da71d53cd27d2d9d..328be066a4f2266bc7163ca1d10e62df4c0079ec 100644 (file)
@@ -934,11 +934,7 @@ video_frames_to_audio_frames (SourceFrame v, float audio_sample_rate, float fram
 bool
 still_image_file (string f)
 {
-#if BOOST_FILESYSTEM_VERSION == 3
        string ext = boost::filesystem::path(f).extension().string();
-#else
-       string ext = boost::filesystem::path(f).extension();
-#endif
 
        transform (ext.begin(), ext.end(), ext.begin(), ::tolower);