From 28832f792f908cd1ec2bca1d3049efd5deb337a0 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Tue, 10 Jun 2014 19:09:28 +0100 Subject: [PATCH] Improve lambda test case some more. --- test/boost_no_lambdas.ipp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/boost_no_lambdas.ipp b/test/boost_no_lambdas.ipp index 4354c75d..edd3341a 100644 --- a/test/boost_no_lambdas.ipp +++ b/test/boost_no_lambdas.ipp @@ -17,14 +17,14 @@ namespace boost_no_cxx11_lambdas { template -void f(Func) +int f(Func f) { + return f(); } int test() { - f([](){}); - return 0; + return f([](){ return 0; }); } }