Fix unused warning in example under gcc
This commit is contained in:
parent
9cfdfc75b7
commit
abc4ccc513
@ -112,7 +112,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) {
|
std::ostream& operator<<(std::ostream& os, const some_class&) {
|
||||||
return os << "some_class";
|
return os << "some_class";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user