diff --git a/ref_test.cpp b/ref_test.cpp index d4237b4..71481fa 100644 --- a/ref_test.cpp +++ b/ref_test.cpp @@ -70,7 +70,7 @@ struct ref_wrapper struct copy_counter { static int count_; - copy_counter(copy_counter const& other) { + copy_counter(copy_counter const& /*other*/) { ++count_; } copy_counter() {}