diff options
author | David Robillard <d@drobilla.net> | 2019-12-29 19:31:32 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-29 19:31:52 -0500 |
commit | 668265fb608430bf968044404ba70f45a0d56033 (patch) | |
tree | 7a9a4abd3593e2ad8e1c4b14f37093c5301a86e3 /src/Patchage.hpp | |
parent | 4e6084ef4d00f26a21e4cb9512a910083926a005 (diff) | |
download | patchage-668265fb608430bf968044404ba70f45a0d56033.tar.gz patchage-668265fb608430bf968044404ba70f45a0d56033.tar.bz2 patchage-668265fb608430bf968044404ba70f45a0d56033.zip |
Use std::shared_ptr
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r-- | src/Patchage.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp index cf550f0..74826a0 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -19,8 +19,7 @@ #include <set> #include <string> - -#include <boost/shared_ptr.hpp> +#include <memory> #include <gtkmm/aboutdialog.h> #include <gtkmm/alignment.h> @@ -59,7 +58,7 @@ public: Patchage(int argc, char** argv); ~Patchage(); - const boost::shared_ptr<PatchageCanvas>& canvas() const { return _canvas; } + const std::shared_ptr<PatchageCanvas>& canvas() const { return _canvas; } Gtk::Window* window() { return _main_win.get(); } @@ -146,7 +145,7 @@ protected: void save_session(bool close); #endif - boost::shared_ptr<PatchageCanvas> _canvas; + std::shared_ptr<PatchageCanvas> _canvas; JackDriver* _jack_driver; Configuration* _conf; |