From abc4ccc513ddb5359fc035fd34a7f157076af81f Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 15 Feb 2015 23:40:45 +0200 Subject: [PATCH] Fix unused warning in example under gcc --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index e1dbffff..96226e32 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -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"; }