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/recipients_panel.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/recipients_panel.h')
| -rw-r--r-- | src/wx/recipients_panel.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/wx/recipients_panel.h b/src/wx/recipients_panel.h index b33b7ebc8..d224eed1b 100644 --- a/src/wx/recipients_panel.h +++ b/src/wx/recipients_panel.h @@ -25,7 +25,6 @@ DCPOMATIC_DISABLE_WARNINGS #include <wx/srchctrl.h> #include <wx/treectrl.h> DCPOMATIC_ENABLE_WARNINGS -#include <boost/shared_ptr.hpp> #include <boost/signals2.hpp> #include <list> #include <map> @@ -40,12 +39,12 @@ public: void setup_sensitivity (); - std::list<boost::shared_ptr<DKDMRecipient> > recipients () const; + std::list<std::shared_ptr<DKDMRecipient> > recipients () const; boost::signals2::signal<void ()> RecipientsChanged; private: void add_recipients (); - void add_recipient (boost::shared_ptr<DKDMRecipient>); + void add_recipient (std::shared_ptr<DKDMRecipient>); void add_recipient_clicked (); void edit_recipient_clicked (); void remove_recipient_clicked (); @@ -60,7 +59,7 @@ private: wxButton* _remove_recipient; wxTreeItemId _root; - typedef std::map<wxTreeItemId, boost::shared_ptr<DKDMRecipient> > RecipientMap; + typedef std::map<wxTreeItemId, std::shared_ptr<DKDMRecipient> > RecipientMap; RecipientMap _recipients; RecipientMap _selected; |
