From 5fc5893497f0fe5f28d42f7bc9bce95446aeb2b1 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 28 Nov 2016 07:40:34 +0000 Subject: [PATCH] .autotest git-svn-id: svn://ultimatepp.org/upp/trunk@10497 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- autotest/CoAlgo/CoAlgo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotest/CoAlgo/CoAlgo.cpp b/autotest/CoAlgo/CoAlgo.cpp index 16770ae2a..22fa28f9d 100644 --- a/autotest/CoAlgo/CoAlgo.cpp +++ b/autotest/CoAlgo/CoAlgo.cpp @@ -21,7 +21,7 @@ CONSOLE_APP_MAIN ASSERT(FindIndex(h, h[i]) == FindIndex(h, h[i])); ASSERT(Count(h, 200) == CoCount(h, 200)); - ASSERT(CountIf(h, [](auto x) { return x % 17 == 0; }) == CoCountIf(h, [](auto x) { return x % 17 == 0; })); + ASSERT(CountIf(h, [](int x) { return x % 17 == 0; }) == CoCountIf(h, [](int x) { return x % 17 == 0; })); Vector a; Array b;