diff options
Diffstat (limited to 'src/PatchageCanvas.hpp')
-rw-r--r-- | src/PatchageCanvas.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp index 6412511..1f5a58d 100644 --- a/src/PatchageCanvas.hpp +++ b/src/PatchageCanvas.hpp @@ -63,7 +63,6 @@ public: void remove_ports(bool (*pred)(const PatchagePort*)); void add_module(const std::string& name, PatchageModule* module); - bool remove_item(FlowCanvas::Item* i); void remove_port(const PortID& id); @@ -72,6 +71,8 @@ public: private: Patchage* _app; + bool remove_item(FlowCanvas::Item* i); + typedef std::map<const PortID, PatchagePort*> PortIndex; PortIndex _port_index; |