summaryrefslogtreecommitdiff
path: root/src/instrument.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrument.cc')
-rw-r--r--src/instrument.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/instrument.cc b/src/instrument.cc
index 6627a41..48b6505 100644
--- a/src/instrument.cc
+++ b/src/instrument.cc
@@ -98,17 +98,17 @@ void Instrument::finalise()
}
}
-std::string Instrument::getName() const
+const std::string& Instrument::getName() const
{
return _name;
}
-std::string Instrument::getDescription() const
+const std::string& Instrument::getDescription() const
{
return _description;
}
-std::string Instrument::getGroup() const
+const std::string& Instrument::getGroup() const
{
return _group;
}