add explicit true type == "no filter"

This commit is contained in:
Konstantin Käfer
2014-06-01 00:06:33 +02:00
parent 99b6a700ef
commit dd4c8a67ba
4 changed files with 7 additions and 4 deletions

View File

@@ -48,7 +48,8 @@ class PropertyExpression;
typedef util::variant<
util::recursive_wrapper<PropertyFilter>,
util::recursive_wrapper<PropertyExpression>
util::recursive_wrapper<PropertyExpression>,
std::true_type
> PropertyFilterExpression;

View File

@@ -117,7 +117,7 @@ public:
std::string source_name;
std::string source_layer;
PropertyFilterExpression filter;
PropertyFilterExpression filter = std::true_type();
// Specifies how the geometry for this bucket should be created
BucketGeometryDescription geometry;