diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-04-10 17:02:37 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-04-10 17:02:37 +0200 |
commit | fafb7ede33f4ea448057d6d4d6a0e3ae412be80a (patch) | |
tree | 7ab5567b2a5205011a5f9038439999513cad7cda | |
parent | 7eeec7b951b45e5d6bfc555b68cb1bc9f3fa8b46 (diff) |
Remove unused setWeight() member functions.
-rw-r--r-- | searchcommon/src/vespa/searchcommon/attribute/multivalue.h | 2 |
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; } |