summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-28 01:19:35 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-28 01:19:35 +0000
commite6ed1933ab493704f972435f6526bd715c15cd70 (patch)
tree23f60d301177f763442d4c91be5c8df8b58e00d5 /src
parentea81a192a65a03b664dac61de21e06cea7aa97a2 (diff)
Missing noncopyable.
Diffstat (limited to 'src')
-rw-r--r--src/file.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/file.h b/src/file.h
index b06cece0..8d98599f 100644
--- a/src/file.h
+++ b/src/file.h
@@ -25,18 +25,19 @@
#define LIBDCP_FILE_H
#include <boost/filesystem.hpp>
+#include <boost/noncopyable.hpp>
namespace dcp {
/** @class File
* @brief Helper class which loads a file into memory.
*/
-class File
+class File : public boost::noncopyable
{
public:
File (boost::filesystem::path file);
~File ();
-
+
uint8_t* data () const {
return _data;
}