Commit 5497936e authored by Sébastien Villemot's avatar Sébastien Villemot Committed by Stéphane Adjemian

VarModelTable,TrendComponentModelTable: minor simplification

parent 58adbded
......@@ -101,7 +101,7 @@ private:
inline bool
TrendComponentModelTable::isExistingTrendComponentModelName(const string &name_arg) const
{
return names.find(name_arg) == names.end() ? false : true;
return names.find(name_arg) != names.end();
}
inline bool
......@@ -168,7 +168,7 @@ private:
inline bool
VarModelTable::isExistingVarModelName(const string &name_arg) const
{
return names.find(name_arg) == names.end() ? false : true;
return names.find(name_arg) != names.end();
}
inline bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment