summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-01-15 17:41:11 +0000
committerDavid Robillard <d@drobilla.net>2009-01-15 17:41:11 +0000
commite185c69f0195b2e68d8019418638395d2b2d00b0 (patch)
treea7ea695731dbaebe7b0c32a01683b84ceb7b19a0 /src/client
parent985becc1ca3b34773f77faf3673d69a88c436b58 (diff)
downloadingen-e185c69f0195b2e68d8019418638395d2b2d00b0.tar.gz
ingen-e185c69f0195b2e68d8019418638395d2b2d00b0.tar.bz2
ingen-e185c69f0195b2e68d8019418638395d2b2d00b0.zip
Add -Woverloaded-virtual to --strict flags and fix associated problems (notably LV2 message extension).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1920 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PatchModel.cpp2
-rw-r--r--src/client/PatchModel.hpp5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/client/PatchModel.cpp b/src/client/PatchModel.cpp
index b79c8edd..c27ff718 100644
--- a/src/client/PatchModel.cpp
+++ b/src/client/PatchModel.cpp
@@ -168,7 +168,7 @@ PatchModel::enabled() const
}
void
-PatchModel::set(const string& key, const Atom& value)
+PatchModel::set_property(const std::string& key, const Atom& value)
{
ResourceImpl::set_property(key, value);
if (key == "ingen:polyphony")
diff --git a/src/client/PatchModel.hpp b/src/client/PatchModel.hpp
index 4e5890ef..35b11e15 100644
--- a/src/client/PatchModel.hpp
+++ b/src/client/PatchModel.hpp
@@ -19,7 +19,6 @@
#define PATCHMODEL_H
#include <cassert>
-#include <list>
#include <string>
#include <sigc++/sigc++.h>
#include "raul/SharedPtr.hpp"
@@ -28,7 +27,7 @@
#include "ConnectionModel.hpp"
-using std::list; using std::string;
+using std::string;
namespace Ingen {
namespace Client {
@@ -64,7 +63,7 @@ public:
signal_editable.emit(e);
} }
- virtual void set(const string& key, const Atom& value);
+ virtual void set_property(const string& key, const Atom& value);
// Signals
sigc::signal<void, SharedPtr<NodeModel> > signal_new_node;