From 668265fb608430bf968044404ba70f45a0d56033 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Dec 2019 19:31:32 -0500 Subject: Use std::shared_ptr --- src/Patchage.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Patchage.hpp') 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 #include - -#include +#include #include #include @@ -59,7 +58,7 @@ public: Patchage(int argc, char** argv); ~Patchage(); - const boost::shared_ptr& canvas() const { return _canvas; } + const std::shared_ptr& 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 _canvas; + std::shared_ptr _canvas; JackDriver* _jack_driver; Configuration* _conf; -- cgit v1.2.1