std::shared_ptr
[dcpomatic.git] / src / wx / content_view.h
index 3f4a65ab1bc1e58f1258ea6a6de219ee2e7c17a4..0bbfffaa76418f331f1ee699d7d6afb3d21fe508 100644 (file)
@@ -23,8 +23,6 @@
 DCPOMATIC_DISABLE_WARNINGS
 #include <wx/listctrl.h>
 DCPOMATIC_ENABLE_WARNINGS
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
 #include <vector>
 
 class Content;
@@ -35,14 +33,14 @@ class ContentView : public wxListCtrl, public ContentStore
 public:
        ContentView (wxWindow* parent);
 
-       boost::shared_ptr<Content> selected () const;
+       std::shared_ptr<Content> selected () const;
        void update ();
 
-       boost::shared_ptr<Content> get (std::string digest) const;
+       std::shared_ptr<Content> get (std::string digest) const;
 
 private:
-       void add (boost::shared_ptr<Content> content);
+       void add (std::shared_ptr<Content> content);
 
-       boost::weak_ptr<Film> _film;
-       std::vector<boost::shared_ptr<Content> > _content;
+       std::weak_ptr<Film> _film;
+       std::vector<std::shared_ptr<Content> > _content;
 };