summaryrefslogtreecommitdiffstats
path: root/src/client/NodeModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-29 00:08:24 +0000
committerDavid Robillard <d@drobilla.net>2010-10-29 00:08:24 +0000
commit90229f42853a05df42297d529840a6be2f267aad (patch)
treedfc36c625c8444ff24424cf6b431498a2d2c18cc /src/client/NodeModel.cpp
parenteaf64613bef152553e077939b372813a6c52e476 (diff)
downloadingen-90229f42853a05df42297d529840a6be2f267aad.tar.gz
ingen-90229f42853a05df42297d529840a6be2f267aad.tar.bz2
ingen-90229f42853a05df42297d529840a6be2f267aad.zip
Explicit copy constructor for Ingen::Client::ObjectModel.
Explicitly call virtual base class Node() constructors in NodeModel. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2661 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/NodeModel.cpp')
-rw-r--r--src/client/NodeModel.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client/NodeModel.cpp b/src/client/NodeModel.cpp
index dd9f1f91..783f2425 100644
--- a/src/client/NodeModel.cpp
+++ b/src/client/NodeModel.cpp
@@ -31,7 +31,8 @@ namespace Client {
NodeModel::NodeModel(Shared::LV2URIMap& uris, SharedPtr<PluginModel> plugin, const Path& path)
- : ObjectModel(uris, path)
+ : Node()
+ , ObjectModel(uris, path)
, _plugin_uri(plugin->uri())
, _plugin(plugin)
, _num_values(0)
@@ -41,7 +42,8 @@ NodeModel::NodeModel(Shared::LV2URIMap& uris, SharedPtr<PluginModel> plugin, con
}
NodeModel::NodeModel(Shared::LV2URIMap& uris, const URI& plugin_uri, const Path& path)
- : ObjectModel(uris, path)
+ : Node()
+ , ObjectModel(uris, path)
, _plugin_uri(plugin_uri)
, _num_values(0)
, _min_values(0)
@@ -51,7 +53,8 @@ NodeModel::NodeModel(Shared::LV2URIMap& uris, const URI& plugin_uri, const Path&
NodeModel::NodeModel(const NodeModel& copy)
- : ObjectModel(copy)
+ : Node(copy)
+ , ObjectModel(copy)
, _plugin_uri(copy._plugin_uri)
, _num_values(copy._num_values)
, _min_values((float*)malloc(sizeof(float) * _num_values))