From d57b48bb2029040bc38d1adefd2136e5fd334760 Mon Sep 17 00:00:00 2001 From: senator Date: Wed, 5 Nov 2014 22:42:36 +0100 Subject: Removed all unused variables from classes and also removed a couple of debug printfs --- src/instrument.cc | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'src/instrument.cc') diff --git a/src/instrument.cc b/src/instrument.cc index 12d5af3..82c9a58 100644 --- a/src/instrument.cc +++ b/src/instrument.cc @@ -126,29 +126,19 @@ std::string Instrument::id() return _id; } -std::string Instrument::description() -{ - return _description; -} - std::string Instrument::group() { return _group; } -void Instrument::setGroup(std::string g) -{ - _group = g; -} - -void Instrument::setName(std::string n) +void Instrument::setId(std::string id) { - _name = n; + _id = id; } -void Instrument::setDescription(std::string d) +void Instrument::setGroup(std::string group) { - _description = d; + _group = group; } #ifdef TEST_INSTRUMENT -- cgit v1.2.3