Return fields by value instead of const reference

This commit is contained in:
Dan Paulat 2022-01-23 19:55:56 -06:00
parent c47a569645
commit 835ee644b5
10 changed files with 481 additions and 483 deletions

View file

@ -36,13 +36,13 @@ typedef util::Iterator<Level2Product,
Level2Product::ClutterFilterPowerRemoved>
Level2ProductIterator;
const std::string& GetRadarProductGroupName(RadarProductGroup group);
const RadarProductGroup GetRadarProductGroup(const std::string& name);
const std::string& GetRadarProductGroupName(RadarProductGroup group);
RadarProductGroup GetRadarProductGroup(const std::string& name);
const std::string& GetLevel2Name(Level2Product product);
const std::string& GetLevel2Description(Level2Product product);
const std::string& GetLevel2Palette(Level2Product product);
const Level2Product GetLevel2Product(const std::string& name);
const std::string& GetLevel2Name(Level2Product product);
const std::string& GetLevel2Description(Level2Product product);
const std::string& GetLevel2Palette(Level2Product product);
Level2Product GetLevel2Product(const std::string& name);
} // namespace common
} // namespace scwx