summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Node.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-19 00:32:15 +0000
committerDavid Robillard <d@drobilla.net>2006-06-19 00:32:15 +0000
commit3bb7c1a7eef744d17e436522a3dc0ed8527a427e (patch)
tree62f9e596c21d5ad294f3c95e0c29e074db89567f /src/libs/engine/Node.h
parentd2042e04de9ba3ab962890d228ad2adf84a0d728 (diff)
downloadingen-3bb7c1a7eef744d17e436522a3dc0ed8527a427e.tar.gz
ingen-3bb7c1a7eef744d17e436522a3dc0ed8527a427e.tar.bz2
ingen-3bb7c1a7eef744d17e436522a3dc0ed8527a427e.zip
Ditched ghetto homebrew RTTI in favour of the real deal;
removed BridgeNode crap git-svn-id: http://svn.drobilla.net/lad/grauph@58 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Node.h')
-rw-r--r--src/libs/engine/Node.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libs/engine/Node.h b/src/libs/engine/Node.h
index 07dc5d89..27d59e32 100644
--- a/src/libs/engine/Node.h
+++ b/src/libs/engine/Node.h
@@ -54,8 +54,6 @@ public:
Node(OmObject* parent, const string& name) : OmObject(parent, name) {}
virtual ~Node() {}
- Node* as_node() { return static_cast<Node*>(this); }
-
/** Activate this Node.
*
* This function will be called in a non-realtime thread before it is
@@ -93,7 +91,7 @@ public:
virtual void dependants(List<Node*>* l) = 0;
/** The Patch this Node belongs to. */
- virtual Patch* parent_patch() const = 0;
+ virtual Patch* parent_patch() const = 0;
/** Information about what 'plugin' this Node is an instance of.
* Not the best name - not all nodes come from plugins (ie Patch)