diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-01 14:38:58 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-01 15:29:34 +0000 |
commit | a596c2af40ba47659c28b5a071638fbe6d2779bb (patch) | |
tree | 492e635345fc9968fde0dfe71a2316c6e0585500 /searchlib | |
parent | f918e20fb06d98e552e62a18a50b110ff4530c7a (diff) |
= default
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/features/dotproductfeature.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp index 38842b1da53..dffa3bb28b5 100644 --- a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp +++ b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp @@ -20,11 +20,10 @@ using namespace search::fef; using vespalib::hwaccelrated::IAccelrated; namespace search::features { -namespace dotproduct { -namespace wset { +namespace dotproduct::wset { template <typename DimensionVType, typename DimensionHType, typename ComponentType, typename HashMapComparator> -VectorBase<DimensionVType, DimensionHType, ComponentType, HashMapComparator>::VectorBase() { } +VectorBase<DimensionVType, DimensionHType, ComponentType, HashMapComparator>::VectorBase() = default; template <typename DimensionVType, typename DimensionHType, typename ComponentType, typename HashMapComparator> VectorBase<DimensionVType, DimensionHType, ComponentType, HashMapComparator>::~VectorBase() = default; @@ -70,7 +69,7 @@ StringVector::~StringVector() = default; } -namespace array { +namespace dotproduct::array { template <typename BaseType> DotProductExecutorBase<BaseType>::DotProductExecutorBase(const V & queryVector) @@ -257,9 +256,7 @@ size_t SparseDotProductByContentFillExecutor<BaseType>::getAttributeValues(uint3 } -} // namespace array - -} // namespace dotproduct +} DotProductBlueprint::DotProductBlueprint() : Blueprint("dotProduct"), |