summaryrefslogtreecommitdiffstats
path: root/src/PatchagePort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-06 18:05:47 +0000
committerDavid Robillard <d@drobilla.net>2011-06-06 18:05:47 +0000
commit67d2cb50843c73024758d6f73c35bae37070b67b (patch)
treeebeba1505b7a18238f49731ff164d920a6ceb497 /src/PatchagePort.hpp
parent654322e7d3dbeac6782ad2db1e9893389939b0ba (diff)
downloadpatchage-67d2cb50843c73024758d6f73c35bae37070b67b.tar.gz
patchage-67d2cb50843c73024758d6f73c35bae37070b67b.tar.bz2
patchage-67d2cb50843c73024758d6f73c35bae37070b67b.zip
Use a care pointer reference to containing module rather than boost::weak_ptr.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3364 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchagePort.hpp')
-rw-r--r--src/PatchagePort.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp
index 49f0b57..8e4c188 100644
--- a/src/PatchagePort.hpp
+++ b/src/PatchagePort.hpp
@@ -62,7 +62,7 @@ public:
#endif
/** Returns the full name of this port, as "modulename:portname" */
- std::string full_name() const { return _module.lock()->name() + ":" + _name; }
+ std::string full_name() const { return _module->name() + ":" + _name; }
PortType type() const { return _type; }