Commit e85a3cc3 authored by gabime's avatar gabime

removed warning from example.cpp

parent b7b421c8
...@@ -94,7 +94,7 @@ int main(int, char* []) ...@@ -94,7 +94,7 @@ int main(int, char* [])
// Example of user defined class with operator<< // Example of user defined class with operator<<
// //
class some_class {}; class some_class {};
std::ostream& operator<<(std::ostream& os, const some_class& c) { return os << "some_class"; } std::ostream& operator<<(std::ostream& os, const some_class&) { return os << "some_class"; }
void custom_class_example() void custom_class_example()
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment