Unused parameters in copy constructor and assignment
Posted: Fri Mar 09, 2007 05:58
Hi,
Although it seems this forum is not very active, I'm not running out of suggestions about CEGUI development
It would be better if parameter names were not declared if they're not used.
Like:
Logger(const Logger& logger) : Singleton <Logger>() {}
Logger& operator=(const Logger& logger) {return *this;}
I would like to have this like:
Logger(const Logger&) : Singleton <Logger>() {}
Logger& operator=(const Logger&) {return *this;}
Cheers
Although it seems this forum is not very active, I'm not running out of suggestions about CEGUI development
It would be better if parameter names were not declared if they're not used.
Like:
Logger(const Logger& logger) : Singleton <Logger>() {}
Logger& operator=(const Logger& logger) {return *this;}
I would like to have this like:
Logger(const Logger&) : Singleton <Logger>() {}
Logger& operator=(const Logger&) {return *this;}
Cheers