diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/BlockModel.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp index a3018939..3d68d8da 100644 --- a/src/client/BlockModel.cpp +++ b/src/client/BlockModel.cpp @@ -41,14 +41,12 @@ BlockModel::BlockModel(URIs& uris, { } -BlockModel::BlockModel(URIs& uris, - const URI& plugin_uri, - const Raul::Path& path) - : ObjectModel(uris, path) - , _plugin_uri(plugin_uri) - , _num_values(0) - , _min_values(nullptr) - , _max_values(nullptr) +BlockModel::BlockModel(URIs& uris, URI plugin_uri, const Raul::Path& path) + : ObjectModel(uris, path) + , _plugin_uri(std::move(plugin_uri)) + , _num_values(0) + , _min_values(nullptr) + , _max_values(nullptr) { } |