diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-04 17:49:49 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-05 10:54:41 +0200 |
commit | a6473653328bfa0b06d12d31955f0d22decea798 (patch) | |
tree | a1d75d41e450a8124584318ab3a6abbfe83cb11c /searchlib | |
parent | 15ebc1b9d7aff66c23854b7eec32699d18561354 (diff) |
Generate code when you see the template implementation.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/features/dotproductfeature.cpp | 2 | ||||
-rw-r--r-- | searchlib/src/vespa/searchlib/features/dotproductfeature.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp index 3ff8dab9096..dfcd14fd247 100644 --- a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp +++ b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp @@ -58,6 +58,8 @@ DotProductExecutor<Vector, Buffer>::execute(uint32_t docId) outputs().set_number(0, val); } +StringVector::StringVector() { } + StringVector::~StringVector() { } } diff --git a/searchlib/src/vespa/searchlib/features/dotproductfeature.h b/searchlib/src/vespa/searchlib/features/dotproductfeature.h index 1aa7bd01b40..df57232bcfa 100644 --- a/searchlib/src/vespa/searchlib/features/dotproductfeature.h +++ b/searchlib/src/vespa/searchlib/features/dotproductfeature.h @@ -83,6 +83,7 @@ public: **/ class StringVector : public VectorBase<vespalib::string, const char *, feature_t, ConstCharComparator> { public: + StringVector(); ~StringVector(); void insert(const vespalib::stringref & label, const vespalib::stringref & value) { _vector.push_back(std::make_pair(label, util::strToNum<feature_t>(value))); |