several fix of minor warnings

This commit is contained in:
Johann Dreo 2020-03-25 14:45:11 +01:00
commit 0332920d63
14 changed files with 22 additions and 20 deletions

View file

@ -134,7 +134,7 @@ public:
/** just to be sure the add method is not called further
*/
virtual void add(const eoParam& _param)
virtual void add(const eoParam& )
{ throw std::runtime_error("eoFDCFileSnapshot::add(). Trying to add stats to an eoFDCFileSnapshot"); }
private:

View file

@ -72,6 +72,8 @@ public:
return *this;
}
using eoMonitor::add;
void add(eoMonitor& mon) { monitors.push_back(&mon); }
virtual std::string className(void) const { return "eoTimedMonitor"; }