From 3f445b19aaf42ae9442a9a7e40f95b4502f06047 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Jul 2007 19:33:51 +0000 Subject: Trim the fat. git-svn-id: http://svn.drobilla.net/lad/ingen@640 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/GraphObject.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src/libs/engine/GraphObject.cpp') 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* node = _store->remove(path()); - if (node != NULL) { - assert(_store->find(path()) == NULL); - delete node; - } - } - - _store = NULL; -} -#endif - } // namespace Ingen -- cgit v1.2.1