Apply the remainder of a 1.x patch; a test.
[dcpomatic.git] / test / job_test.cc
index 2022a8ddadf0ab5d464244b7b0124d6d1294f45b..97a23b946a765eb7c758c41678960d3f0d69ea81 100644 (file)
@@ -48,7 +48,7 @@ public:
 
        void run ()
        {
-               while (1) {
+               while (true) {
                        if (finished ()) {
                                return;
                        }
@@ -58,10 +58,6 @@ public:
        string name () const {
                return "";
        }
-
-       string json_name () const {
-               return "";
-       }
 };
 
 BOOST_AUTO_TEST_CASE (job_manager_test)