diff options
author | Geir Storli <geirst@yahooinc.com> | 2022-04-19 13:21:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 13:21:58 +0200 |
commit | 31a41c024454641b46f21d97b18babaad14e8f79 (patch) | |
tree | af660f145af9edbdfaab3f9f4bea6d903b45be07 /searchlib | |
parent | db205e530ba7cc305daa14e99dff22f172cf4349 (diff) | |
parent | 411fa5f058a1147b34b490301d84115128de3831 (diff) |
Merge pull request #22137 from vespa-engine/toregge/remove-unused-get-by-type-member-functions-from-attribute-vector
Remove unused getByType member functions from search::AttributeVector.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/attributevector.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/attributevector.h b/searchlib/src/vespa/searchlib/attribute/attributevector.h index 61f578d9f2b..5f336ab921f 100644 --- a/searchlib/src/vespa/searchlib/attribute/attributevector.h +++ b/searchlib/src/vespa/searchlib/attribute/attributevector.h @@ -167,39 +167,6 @@ protected: void performCompactionWarning(); - void getByType(DocId doc, const char *&v) const { - char tmp[1024]; v = getString(doc, tmp, sizeof(tmp)); - } - - void getByType(DocId doc, vespalib::string &v) const { - char tmp[1024]; v = getString(doc, tmp, sizeof(tmp)); - } - - void getByType(DocId doc, largeint_t & v) const { - v = getInt(doc); - } - - void getByType(DocId doc, double &v) const { - v = getFloat(doc); - } - - uint32_t getByType(DocId doc, const char **v, uint32_t sz) const { - return get(doc, v, sz); - } - - uint32_t getByType(DocId doc, vespalib::string *v, uint32_t sz) const { - return get(doc, v, sz); - } - - uint32_t getByType(DocId doc, largeint_t * v, uint32_t sz) const { - return get(doc, v, sz); - } - - uint32_t getByType(DocId doc, double *v, uint32_t sz) const { - return get(doc, v, sz); - } - - AttributeVector(vespalib::stringref baseFileName, const Config & c); void checkSetMaxValueCount(int index) { |