Fix crashes when using templates in some cases (#2491).
[dcpomatic.git] / src / lib / dcpomatic_log.cc
index 63b5ad375c24cfb8140df57522b9813fe1fb599e..cffc79830f449482a747291c3f8386b78b0cc1a0 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "dcpomatic_log.h"
 #include "null_log.h"
 
+
 /** The current log; set up by the front-ends when they have a Film to log into */
-boost::shared_ptr<Log> dcpomatic_log (new NullLog());
+std::shared_ptr<Log> dcpomatic_log (new NullLog());