summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-04-10 17:02:37 +0200
committerTor Egge <Tor.Egge@online.no>2022-04-10 17:02:37 +0200
commitfafb7ede33f4ea448057d6d4d6a0e3ae412be80a (patch)
tree7ab5567b2a5205011a5f9038439999513cad7cda
parent7eeec7b951b45e5d6bfc555b68cb1bc9f3fa8b46 (diff)
Remove unused setWeight() member functions.
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/multivalue.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/multivalue.h b/searchcommon/src/vespa/searchcommon/attribute/multivalue.h
index 0783338c6f6..b9e85480d2d 100644
--- a/searchcommon/src/vespa/searchcommon/attribute/multivalue.h
+++ b/searchcommon/src/vespa/searchcommon/attribute/multivalue.h
@@ -18,7 +18,6 @@ public:
operator T () const { return _v; }
operator T & () { return _v; }
int32_t weight() const { return 1; }
- void setWeight(int32_t w) { (void) w; }
bool operator ==(const Value<T> & rhs) const { return _v == rhs._v; }
bool operator <(const Value<T> & rhs) const { return _v < rhs._v; }
bool operator >(const Value<T> & rhs) const { return _v > rhs._v; }
@@ -37,7 +36,6 @@ public:
operator T () const { return _v; }
operator T & () { return _v; }
int32_t weight() const { return _w; }
- void setWeight(int32_t w) { _w = w; }
bool operator==(const WeightedValue<T> & rhs) const { return _v == rhs._v; }
bool operator <(const WeightedValue<T> & rhs) const { return _v < rhs._v; }