From b04d5aa0ddf717a26ce939c31b17c33b92d95a6c Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 30 Oct 2020 11:05:14 +0000 Subject: [PATCH] .autotest git-svn-id: svn://ultimatepp.org/upp/trunk@15329 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- autotest/RemoveIf/RemoveIf.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autotest/RemoveIf/RemoveIf.cpp b/autotest/RemoveIf/RemoveIf.cpp index fef4c2600..ed6174fd5 100644 --- a/autotest/RemoveIf/RemoveIf.cpp +++ b/autotest/RemoveIf/RemoveIf.cpp @@ -6,14 +6,14 @@ CONSOLE_APP_MAIN { StdLogSetup(LOG_COUT|LOG_FILE); - Vector x { 1, 4, 5, 5, 7, 5, 2, 1, 7, 9 }; + Vector x { "1", "4", "5", "5", "7", "5", "2", "1", "7", "9" }; DUMP(x); - x.RemoveIf([&](int i) { return x[i] == 8; }); + x.RemoveIf([&](int i) { return x[i] == "8"; }); DUMP(x); - x.RemoveIf([&](int i) { return x[i] == 9; }); + x.RemoveIf([&](int i) { return x[i] == "9"; }); DUMP(x); - x.RemoveIf([&](int i) { return x[i] == 5; }); + x.RemoveIf([&](int i) { return x[i] == "5"; }); DUMP(x); x.RemoveIf([&](int i) { return true; }); DUMP(x);