Improve approximate time reporting a bit (#383).
[dcpomatic.git] / test / job_test.cc
index a3ad1bb6c5936589e475d1d2cf4078d38fc1e2e7..a77bc949ce123e7e851ea23d038315039476b1a9 100644 (file)
@@ -44,7 +44,7 @@ public:
 
        void run ()
        {
-               while (1) {
+               while (true) {
                        if (finished ()) {
                                return;
                        }
@@ -54,6 +54,10 @@ public:
        string name () const {
                return "";
        }
+
+       string json_name () const {
+               return "";
+       }
 };
 
 BOOST_AUTO_TEST_CASE (job_manager_test)