mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fix unused warning in example under gcc
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user