C++11 tidying.
[dcpomatic.git] / src / lib / job.cc
index b1ff0fb32f23f82134fb3b461e4a821cfa5d50ba..52558046ae8ec66ecd580194bf3f51558efd504e 100644 (file)
@@ -44,7 +44,7 @@ using std::list;
 using std::cout;
 using std::shared_ptr;
 using boost::optional;
-using boost::function;
+using std::function;
 using namespace dcpomatic;
 
 /** @param film Associated film, or 0 */
@@ -95,6 +95,8 @@ Job::start ()
 void
 Job::run_wrapper ()
 {
+       start_of_thread (String::compose("Job-%1", json_name()));
+
        try {
 
                run ();