diff options
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r-- | src/Patchage.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp index 880ccaf..08619c2 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -53,7 +53,7 @@ public: Patchage(int argc, char** argv); ~Patchage(); - boost::shared_ptr<PatchageCanvas> canvas() const { return _canvas; } + const boost::shared_ptr<PatchageCanvas>& canvas() const { return _canvas; } Gtk::Window* window() { return _main_win.get(); } |