diff options
Diffstat (limited to 'vespalib/src')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/featureset.cpp | 7 | ||||
-rw-r--r-- | vespalib/src/vespa/vespalib/util/featureset.h | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/util/featureset.cpp b/vespalib/src/vespa/vespalib/util/featureset.cpp index 6ac90461cfb..99cf21e6280 100644 --- a/vespalib/src/vespa/vespalib/util/featureset.cpp +++ b/vespalib/src/vespa/vespalib/util/featureset.cpp @@ -87,4 +87,11 @@ FeatureSet::getFeaturesByDocId(uint32_t docId) const return 0; } +FeatureValues::FeatureValues() noexcept = default; +FeatureValues::FeatureValues(const FeatureValues& rhs) = default; +FeatureValues::FeatureValues(FeatureValues&& rhs) noexcept = default; +FeatureValues::~FeatureValues() noexcept = default; +FeatureValues& FeatureValues::operator=(const FeatureValues& rhs) = default;; +FeatureValues& FeatureValues::operator=(FeatureValues&& rhs) noexcept = default; + } diff --git a/vespalib/src/vespa/vespalib/util/featureset.h b/vespalib/src/vespa/vespalib/util/featureset.h index 3e6052400d9..5300b5faa86 100644 --- a/vespalib/src/vespa/vespalib/util/featureset.h +++ b/vespalib/src/vespa/vespalib/util/featureset.h @@ -155,6 +155,12 @@ struct FeatureValues { using Value = FeatureSet::Value; std::vector<vespalib::string> names; std::vector<Value> values; // values.size() == names.size() * N + FeatureValues() noexcept; + FeatureValues(const FeatureValues& rhs); + FeatureValues(FeatureValues&& rhs) noexcept; + ~FeatureValues() noexcept; + FeatureValues& operator=(const FeatureValues& rhs); + FeatureValues& operator=(FeatureValues&& rhs) noexcept; }; } |