fix -Wextra & -Wdeprecated in Path

This commit is contained in:
wmayer
2016-09-22 18:53:24 +02:00
parent 664cf65d26
commit fa0b094e6a
9 changed files with 13 additions and 11 deletions

View File

@@ -109,7 +109,7 @@ Vector3d Command::getCenter (void)
return vec;
}
const double Command::getValue(const std::string& attr)
double Command::getValue(const std::string& attr)
{
std::string a(attr);
boost::to_upper(a);
@@ -119,7 +119,7 @@ const double Command::getValue(const std::string& attr)
return val;
}
const bool Command::has(const std::string& attr)
bool Command::has(const std::string& attr)
{
std::string a(attr);
boost::to_upper(a);