summaryrefslogtreecommitdiff
path: root/src/wx/content_menu.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_menu.h
parent0d35820cf50d2789752b8776683b26d04642518d (diff)
std::shared_ptr
Diffstat (limited to 'src/wx/content_menu.h')
-rw-r--r--src/wx/content_menu.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wx/content_menu.h b/src/wx/content_menu.h
index 756c1675a..7743d0712 100644
--- a/src/wx/content_menu.h
+++ b/src/wx/content_menu.h
@@ -24,8 +24,7 @@
#include "timeline_content_view.h"
#include "lib/types.h"
#include <wx/wx.h>
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
+#include <memory>
class Film;
class Job;
@@ -36,7 +35,7 @@ class ContentMenu : public boost::noncopyable
public:
explicit ContentMenu (wxWindow* p);
- void popup (boost::weak_ptr<Film>, ContentList, TimelineContentViewList, wxPoint);
+ void popup (std::weak_ptr<Film>, ContentList, TimelineContentViewList, wxPoint);
private:
void repeat ();
@@ -49,13 +48,13 @@ private:
void ov ();
void set_dcp_settings ();
void remove ();
- void maybe_found_missing (boost::weak_ptr<Job>, boost::weak_ptr<Content>, boost::weak_ptr<Content>);
+ void maybe_found_missing (std::weak_ptr<Job>, std::weak_ptr<Content>, std::weak_ptr<Content>);
void cpl_selected (wxCommandEvent& ev);
wxMenu* _menu;
wxMenu* _cpl_menu;
/** Film that we are working with; set up by popup() */
- boost::weak_ptr<Film> _film;
+ std::weak_ptr<Film> _film;
wxWindow* _parent;
bool _pop_up_open;
ContentList _content;