From 3459b83736f0e4eedfb95a1394d9e4ee1523b917 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 21 Jun 2016 17:22:51 -0700 Subject: [core, node] Node bindings for setFilter --- test/style/filter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/style/filter.cpp b/test/style/filter.cpp index 4a1010445e..fd763896a6 100644 --- a/test/style/filter.cpp +++ b/test/style/filter.cpp @@ -2,7 +2,8 @@ #include #include -#include +#include +#include #include @@ -16,7 +17,7 @@ typedef std::multimap Properties; Filter parse(const char * expression) { rapidjson::GenericDocument, rapidjson::CrtAllocator> doc; doc.Parse<0>(expression); - return parseFilter(doc); + return conversion::convertFilter(doc).get(); } bool evaluate(const Filter& filter, const Properties& properties, FeatureType type = FeatureType::Unknown) { -- cgit v1.2.1