Fix warnings

This commit is contained in:
Alexey Rybalchenko
2018-01-31 15:18:39 +01:00
committed by Mohammad Al-Turany
parent e5c4ad31c7
commit 4e2a195289
6 changed files with 6 additions and 21 deletions

View File

@@ -84,19 +84,6 @@ class FairMQProgOptions : public FairProgOptions
// - if UpdateChannelMap(const FairMQMap& map) method is called
// - if UserParser template method is called (it is called in the ParseAll method if json or xml MQ-config files is provided)
// specialization/overloading for string, pass by const ref
int UpdateValue(const std::string& key, const std::string& val) // string API
{
UpdateValue(key, val);
return 0;
}
int UpdateValue(const std::string& key, const char* val) // string API
{
UpdateValue<std::string>(key, std::string(val));
return 0;
}
template<typename T>
int UpdateValue(const std::string& key, T val)
{