diff options
author | David Robillard <d@drobilla.net> | 2013-02-02 19:15:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-02 19:15:41 +0000 |
commit | 05fe5ef01584a0455fda59a3bc36461077afcda8 (patch) | |
tree | 1ffa47038eb63dd8bde00c9899c1656711ce62d7 | |
parent | 54dde444ea19c158eb19c409e34e6d53cf0e7c88 (diff) | |
download | patchage-05fe5ef01584a0455fda59a3bc36461077afcda8.tar.gz patchage-05fe5ef01584a0455fda59a3bc36461077afcda8.tar.bz2 patchage-05fe5ef01584a0455fda59a3bc36461077afcda8.zip |
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
-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(); } |