diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/wx/fonts_dialog.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/fonts_dialog.h')
| -rw-r--r-- | src/wx/fonts_dialog.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/wx/fonts_dialog.h b/src/wx/fonts_dialog.h index 260e74c3d..0ef3658cf 100644 --- a/src/wx/fonts_dialog.h +++ b/src/wx/fonts_dialog.h @@ -23,8 +23,6 @@ DCPOMATIC_DISABLE_WARNINGS #include <wx/listctrl.h> #include <wx/wx.h> DCPOMATIC_ENABLE_WARNINGS -#include <boost/shared_ptr.hpp> -#include <boost/weak_ptr.hpp> #include <boost/filesystem.hpp> class Content; @@ -33,7 +31,7 @@ class TextContent; class FontsDialog : public wxDialog { public: - FontsDialog (wxWindow* parent, boost::shared_ptr<Content>, boost::shared_ptr<TextContent> caption); + FontsDialog (wxWindow* parent, std::shared_ptr<Content>, std::shared_ptr<TextContent> caption); private: void setup (); @@ -41,8 +39,8 @@ private: void selection_changed (); void edit_clicked (); - boost::weak_ptr<Content> _content; - boost::weak_ptr<TextContent> _caption; + std::weak_ptr<Content> _content; + std::weak_ptr<TextContent> _caption; wxListCtrl* _fonts; wxButton* _edit; }; |
