From d1d7a1ade9da009f11b8ff47222c6498fdd93aa2 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 23 Jun 2013 19:11:32 +0200 Subject: Workaround a bunch of stupid warnings in unit tests --- test/ref.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ref.cpp') 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++; } -- cgit v1.2.3