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