Fix GCC warnings: unused parameter ‘names’

/libretroshare/src/pqi/pqiservice.h:80: warning: unused parameter
‘names’ [-Wunused-parameter]
     virtual void getItemNames(std::map<uint8_t,std::string>& names)
const {} // This does nothing by default. Service should derive it in
order to give info for the UI
                                                              ^~~~~
This commit is contained in:
Phenom 2017-04-21 19:55:37 +02:00 committed by csoler
parent 593c0cb7e6
commit 3592d5bf5d

View File

@ -77,7 +77,7 @@ public:
virtual int tick() { return 0; }
virtual void getItemNames(std::map<uint8_t,std::string>& names) const {} // This does nothing by default. Service should derive it in order to give info for the UI
virtual void getItemNames(std::map<uint8_t,std::string>& /*names*/) const {} // This does nothing by default. Service should derive it in order to give info for the UI
private:
p3ServiceServerIface *mServiceServer; // const, no need for mutex.