From 05fe5ef01584a0455fda59a3bc36461077afcda8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Feb 2013 19:15:41 +0000 Subject: Fix compilation error with certain boost/C++11 versio combination. Maybe. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5026 a436a847-0d15-0410-975c-d299462d15a1 --- src/Patchage.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 canvas() const { return _canvas; } + const boost::shared_ptr& canvas() const { return _canvas; } Gtk::Window* window() { return _main_win.get(); } -- cgit v1.2.1