summaryrefslogtreecommitdiff
path: root/src/wx/content_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-04 21:16:53 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-07 22:48:29 +0100
commitdd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch)
treee56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/wx/content_view.h
parent0d35820cf50d2789752b8776683b26d04642518d (diff)
std::shared_ptr
Diffstat (limited to 'src/wx/content_view.h')
-rw-r--r--src/wx/content_view.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/wx/content_view.h b/src/wx/content_view.h
index 3f4a65ab1..0bbfffaa7 100644
--- a/src/wx/content_view.h
+++ b/src/wx/content_view.h
@@ -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;
};