diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-07 22:15:01 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-07 22:15:01 +0200 |
| commit | 7bc2134d658778e04f1756c255e604b4ab5a5831 (patch) | |
| tree | b5ba51f2534604a6528fbbb130fd0cfca7d6fb70 /src/wx/recipients_panel.h | |
| parent | a771a806291243760552988a1a7a5742bc007ee2 (diff) | |
Assorted C++11/formatting cleanups.
Diffstat (limited to 'src/wx/recipients_panel.h')
| -rw-r--r-- | src/wx/recipients_panel.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/wx/recipients_panel.h b/src/wx/recipients_panel.h index d224eed1b..aacfccd9a 100644 --- a/src/wx/recipients_panel.h +++ b/src/wx/recipients_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015-2020 Carl Hetherington <cth@carlh.net> + Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,6 +18,7 @@ */ + #include "lib/dkdm_recipient.h" #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS @@ -29,8 +30,10 @@ DCPOMATIC_ENABLE_WARNINGS #include <list> #include <map> + class DKDMRecipient; + class RecipientsPanel : public wxPanel { public: @@ -39,7 +42,7 @@ public: void setup_sensitivity (); - std::list<std::shared_ptr<DKDMRecipient> > recipients () const; + std::list<std::shared_ptr<DKDMRecipient>> recipients () const; boost::signals2::signal<void ()> RecipientsChanged; private: @@ -59,7 +62,7 @@ private: wxButton* _remove_recipient; wxTreeItemId _root; - typedef std::map<wxTreeItemId, std::shared_ptr<DKDMRecipient> > RecipientMap; + typedef std::map<wxTreeItemId, std::shared_ptr<DKDMRecipient>> RecipientMap; RecipientMap _recipients; RecipientMap _selected; |
