diff options
Diffstat (limited to 'src/libs/engine/GraphObject.cpp')
-rw-r--r-- | src/libs/engine/GraphObject.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/libs/engine/GraphObject.cpp b/src/libs/engine/GraphObject.cpp index 5f44ad2d..b18e9687 100644 --- a/src/libs/engine/GraphObject.cpp +++ b/src/libs/engine/GraphObject.cpp @@ -29,32 +29,4 @@ GraphObject::parent_patch() const } -// FIXME: these functions are stupid/ugly -#if 0 -void -GraphObject::add_to_store(ObjectStore* store) -{ - assert(!_store); - store->add(this); - _store = store; -} - - -void -GraphObject::remove_from_store() -{ - assert(_store); - - if (_store) { - TreeNode<GraphObject*>* node = _store->remove(path()); - if (node != NULL) { - assert(_store->find(path()) == NULL); - delete node; - } - } - - _store = NULL; -} -#endif - } // namespace Ingen |