Missing delete of some constructors.
[dcpomatic.git] / src / lib / file_group.h
index 21499f5634483feac8f589ac79c797160975502e..a696343a0ca14e118109496f2e0a5fed33a8a069 100644 (file)
@@ -39,6 +39,9 @@ public:
        explicit FileGroup (std::vector<boost::filesystem::path> const &);
        ~FileGroup ();
 
+       FileGroup (FileGroup const&) = delete;
+       FileGroup& operator= (FileGroup const&) = delete;
+
        void set_paths (std::vector<boost::filesystem::path> const &);
 
        int64_t seek (int64_t, int) const;
@@ -53,6 +56,7 @@ private:
        mutable size_t _current_path;
        mutable FILE* _current_file;
        mutable size_t _current_size;
+       mutable int64_t _position;
 };
 
 #endif