More player debugging for butler video-full states.
[dcpomatic.git] / src / lib / scoped_temporary.h
index 87c8e387f338b31ca7df40f1f32c23a290f6f4ca..986f565a0896a64e507eba34ba7bdbc1d8c94d14 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 */
 
 #include <boost/filesystem.hpp>
+#include <boost/noncopyable.hpp>
 #include <cstdio>
 
 /** @class ScopedTemporary
  *  @brief A temporary file which is deleted when the ScopedTemporary object goes out of scope.
  */
-class ScopedTemporary
+class ScopedTemporary : public boost::noncopyable
 {
 public:
        ScopedTemporary ();