From fe3ae84736211731dcb016d67a852fe74fd2cf39 Mon Sep 17 00:00:00 2001 From: yhirose Date: Tue, 4 Sep 2018 21:06:38 -0400 Subject: [PATCH] Fixed build errors --- test/test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.cc b/test/test.cc index e1153b7..9fb0080 100644 --- a/test/test.cc +++ b/test/test.cc @@ -174,11 +174,11 @@ TEST_CASE("enter/leave handlers test", "[general]") TOKEN <- [A-Za-z]+ )"); - parser["LTOKEN"].enter = [&](any& dt) { + parser["LTOKEN"].enter = [&](const char*, size_t, any& dt) { auto& require_upper_case = *dt.get(); require_upper_case = false; }; - parser["LTOKEN"].leave = [&](any& dt) { + parser["LTOKEN"].leave = [&](const char*, size_t, size_t, any&, any& dt) { auto& require_upper_case = *dt.get(); require_upper_case = true; };