From 465e1ecf8297b54b04c46610ccd48ee0ce866a87 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 4 May 2007 04:12:58 +0000 Subject: Fix boost::bad_weak_ptr crash when clicking a patch port module. git-svn-id: http://svn.drobilla.net/lad/ingen@495 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/PatchPortModule.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libs') diff --git a/src/libs/gui/PatchPortModule.h b/src/libs/gui/PatchPortModule.h index ac39eadf..c5c01f50 100644 --- a/src/libs/gui/PatchPortModule.h +++ b/src/libs/gui/PatchPortModule.h @@ -46,8 +46,7 @@ class Port; * * \ingroup GUI */ -class PatchPortModule : public boost::enable_shared_from_this, - public LibFlowCanvas::Module +class PatchPortModule : public LibFlowCanvas::Module { public: static boost::shared_ptr create(boost::shared_ptr canvas, -- cgit v1.2.1