aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/ref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/ref.cpp')
-rw-r--r--test/ref.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ref.cpp b/test/ref.cpp
index 65b4f5a3e..f639d900b 100644
--- a/test/ref.cpp
+++ b/test/ref.cpp
@@ -14,9 +14,9 @@
static int nb_temporaries;
-inline void on_temporary_creation(int size) {
+inline void on_temporary_creation(int) {
// here's a great place to set a breakpoint when debugging failures in this test!
- if(size!=0) nb_temporaries++;
+ nb_temporaries++;
}