Insist on boost 1.45 and hence filesystem v3 now that libdcp requires it.
[dcpomatic.git] / src / lib / scp_dcp_job.cc
index 22129f56cdf05e2edadda7baedce3378e012160f..3d941888e76585350f461417893d9bd4daab32dd 100644 (file)
@@ -161,12 +161,7 @@ SCPDCPJob::run ()
        
        for (boost::filesystem::directory_iterator i = boost::filesystem::directory_iterator (dcp_dir); i != boost::filesystem::directory_iterator(); ++i) {
                
-               /* Aah, the sweet smell of progress */
-#if BOOST_FILESYSTEM_VERSION == 3              
                string const leaf = boost::filesystem::path(*i).leaf().generic_string ();
-#else
-               string const leaf = i->leaf ();
-#endif
                
                set_status ("copying " + leaf);