summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-07 02:44:16 +0000
committerDavid Robillard <d@drobilla.net>2011-06-07 02:44:16 +0000
commit00f2ad0069fe4e51e40e6a3b3d41f125b67f89cf (patch)
tree1a96d7873a700a05815bde3e3119b7055532d861 /src/PatchageModule.hpp
parent9adc6fb021bcde9720a8afcac9a1a87521691fba (diff)
downloadpatchage-00f2ad0069fe4e51e40e6a3b3d41f125b67f89cf.tar.gz
patchage-00f2ad0069fe4e51e40e6a3b3d41f125b67f89cf.tar.bz2
patchage-00f2ad0069fe4e51e40e6a3b3d41f125b67f89cf.zip
Remove use of smart pointers in FlowCanvas entirely.
Since FlowCanvas's containers own their children, there is no real benefit to using smart pointers for objects, though there is overhead. There are no longer any add or remove methods for containers, simply create (new) and destroy (delete) objects and things should work as expected. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3366 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageModule.hpp')
-rw-r--r--src/PatchageModule.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp
index ebccbb5..2a58182 100644
--- a/src/PatchageModule.hpp
+++ b/src/PatchageModule.hpp
@@ -32,8 +32,8 @@ public:
PatchageModule(Patchage* app, const std::string& name, ModuleType type, double x=0, double y=0);
~PatchageModule();
- void add_port(boost::shared_ptr<FlowCanvas::Port> port);
- void remove_port(boost::shared_ptr<FlowCanvas::Port> port);
+ void add_port(FlowCanvas::Port* port);
+ void remove_port(FlowCanvas::Port* port);
void split();
void join();