Remove surplus const for return-by-value.

This triggers compiler warnings at high warning levels.
This commit is contained in:
Atgeirr Flø Rasmussen
2015-03-06 08:52:39 +01:00
parent a5e6236580
commit d33a05db70
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ namespace Opm {
return m_name;
}
const UnitSystem::UnitType UnitSystem::getType() const {
UnitSystem::UnitType UnitSystem::getType() const {
return m_unittype;
}

View File

@@ -39,7 +39,7 @@ namespace Opm {
UnitSystem(UnitType unit);
const std::string& getName() const;
const UnitType getType() const;
UnitType getType() const;
void addDimension(const std::string& dimension, double SIfactor, double SIoffset = 0.0);
void addDimension(std::shared_ptr<const Dimension> dimension);