summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-03-31 18:00:18 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-31 18:00:18 +0200
commitc7aae008ad818f9cb453ce184673e0edf8ba4e58 (patch)
tree723c964c28032e7bb3f92c5eb2dd059bd8b2583a
parent9b5dae389051c8c9ea96c1f79b487169d19b46d8 (diff)
Fix build errors due to rebase.
-rw-r--r--src/drumkitparser.cc2
-rw-r--r--src/velocity.cc2
-rw-r--r--src/velocity.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/drumkitparser.cc b/src/drumkitparser.cc
index 595cd41..3ba69c8 100644
--- a/src/drumkitparser.cc
+++ b/src/drumkitparser.cc
@@ -209,7 +209,7 @@ void DrumKitParser::endTag(const std::string& name)
if(c->num == NO_CHANNEL)
{
ERR(kitparser, "Missing channel '%s' in instrument '%s'\n",
- c->name.c_str(), i->name().c_str());
+ c->name.c_str(), i->getName().c_str());
}
else {
/*
diff --git a/src/velocity.cc b/src/velocity.cc
index e08ab9b..c8faa32 100644
--- a/src/velocity.cc
+++ b/src/velocity.cc
@@ -47,7 +47,7 @@ void Velocity::addSample(Sample* sample, float probability)
}
}
-Sample* Velocity::getSample() const
+Sample* Velocity::getSample()
{
Sample* sample{nullptr};
diff --git a/src/velocity.h b/src/velocity.h
index 41622d3..19284a4 100644
--- a/src/velocity.h
+++ b/src/velocity.h
@@ -37,7 +37,7 @@ public:
Velocity(unsigned int lower, unsigned int upper);
void addSample(Sample* sample, float probability);
- Sample* getSample() const;
+ Sample* getSample();
unsigned int lower;
unsigned int upper;