Fix unused warning in example under gcc

This commit is contained in:
gabime 2015-02-15 23:40:45 +02:00
parent 9cfdfc75b7
commit abc4ccc513

View File

@ -112,7 +112,7 @@ int main(int, char*[])
// Example of user defined class with operator<<
class some_class {};
std::ostream& operator<<(std::ostream& os, const some_class& c) {
std::ostream& operator<<(std::ostream& os, const some_class&) {
return os << "some_class";
}