aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product_notemporary.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-06-23 19:11:32 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-06-23 19:11:32 +0200
commitd1d7a1ade9da009f11b8ff47222c6498fdd93aa2 (patch)
treecedec3a4f5baca85f4aa482fa3230b1bb8e22559 /test/product_notemporary.cpp
parentfab023536980c0e90c89811f0cbed037d2539879 (diff)
Workaround a bunch of stupid warnings in unit tests
Diffstat (limited to 'test/product_notemporary.cpp')
-rw-r--r--test/product_notemporary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp
index a30a8b4c7..258d238e2 100644
--- a/test/product_notemporary.cpp
+++ b/test/product_notemporary.cpp
@@ -9,7 +9,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++;
}