Missing delete of some constructors.
authorCarl Hetherington <cth@carlh.net>
Sun, 25 Apr 2021 14:40:36 +0000 (16:40 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 25 Apr 2021 14:40:36 +0000 (16:40 +0200)
src/lib/file_group.h

index 0e26d64ecb8c5f5dbc07851224279c4f081918b0..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;