From bd229b3fee1293cc8eeee2b158111edece7be9b6 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 11 Aug 2021 09:36:38 +0000 Subject: GC unused constants. --- document/src/vespa/document/predicate/predicate.cpp | 4 ---- document/src/vespa/document/predicate/predicate.h | 4 ---- 2 files changed, 8 deletions(-) (limited to 'document') diff --git a/document/src/vespa/document/predicate/predicate.cpp b/document/src/vespa/document/predicate/predicate.cpp index df4128246a9..3b131b92288 100644 --- a/document/src/vespa/document/predicate/predicate.cpp +++ b/document/src/vespa/document/predicate/predicate.cpp @@ -21,15 +21,11 @@ const string Predicate::SET("feature_set"); const string Predicate::RANGE_MIN("range_min"); const string Predicate::RANGE_MAX("range_max"); const string Predicate::CHILDREN("children"); -const string Predicate::PARTITIONS("partitions"); -const string Predicate::EDGE_PARTITIONS("edge_partitions"); const string Predicate::HASHED_PARTITIONS("hashed_partitions"); const string Predicate::HASHED_EDGE_PARTITIONS("hashed_edge_partitions"); const string Predicate::HASH("hash"); const string Predicate::PAYLOAD("payload"); -const string Predicate::LABEL("label"); const string Predicate::VALUE("value"); -const string Predicate::LOWER_BOUND("lower_bound"); const string Predicate::UPPER_BOUND("upper_bound"); namespace { diff --git a/document/src/vespa/document/predicate/predicate.h b/document/src/vespa/document/predicate/predicate.h index 4c6351f5e4c..612bc4b7b02 100644 --- a/document/src/vespa/document/predicate/predicate.h +++ b/document/src/vespa/document/predicate/predicate.h @@ -20,15 +20,11 @@ struct Predicate { static const std::string RANGE_MIN; static const std::string RANGE_MAX; static const std::string CHILDREN; - static const std::string PARTITIONS; - static const std::string EDGE_PARTITIONS; static const std::string HASHED_PARTITIONS; static const std::string HASHED_EDGE_PARTITIONS; static const std::string HASH; static const std::string PAYLOAD; - static const std::string LABEL; static const std::string VALUE; - static const std::string LOWER_BOUND; static const std::string UPPER_BOUND; static const int TYPE_CONJUNCTION = 1; -- cgit v1.2.3