Replace aligned bool with enum Alignment.
[dcpomatic.git] / src / lib / zipper.h
index a981a22b7a18044bb794833a71a4f6d70308e18a..9f3e867c773c78e6ab8c8f22c2a855c64f7902cc 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
-#include <boost/noncopyable.hpp>
+
 #include <boost/filesystem.hpp>
-#include <boost/shared_ptr.hpp>
 #include <vector>
 
-class Zipper : public boost::noncopyable
+
+class Zipper
 {
 public:
        Zipper (boost::filesystem::path file);
        ~Zipper ();
 
+       Zipper (Zipper const&) = delete;
+       Zipper& operator= (Zipper const&) = delete;
+
        void add (std::string name, std::string content);
        void close ();
 
 private:
        struct zip* _zip;
-       std::vector<boost::shared_ptr<std::string> > _store;
+       std::vector<std::shared_ptr<std::string>> _store;
 };