98772641729700876a0e51e3d001649cd1624046 from master; Windows crash fix.
[dcpomatic.git] / src / lib / image_filename_sorter.cc
index 7bb1b4c376bb24762a860b3990fb4b5acebc1087..0cb6adc6bf182705490e44eed16c80b70ccd0741 100644 (file)
 
 */
 
-#include <iostream>
+#include "raw_convert.h"
 #include <boost/filesystem.hpp>
 #include <boost/optional.hpp>
-#include <dcp/raw_convert.h>
+#include <iostream>
 
 class ImageFilenameSorter
 {
@@ -30,7 +30,6 @@ public:
                boost::optional<int> na = extract_number (a);
                boost::optional<int> nb = extract_number (b);
                if (!na || !nb) {
-                       std::cout << a << " " << b << " " << (a.string() < b.string()) << "\n";
                        return a.string() < b.string();
                }
 
@@ -57,6 +56,6 @@ private:
                        return boost::optional<int> ();
                }
 
-               return dcp::raw_convert<int> (number);
+               return raw_convert<int> (number);
        }
 };