mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
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<<
|
||||
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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user