aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-04-12 00:25:17 +0200
committerGitHub <noreply@github.com>2022-04-12 00:25:17 +0200
commit929401b9e48226c6f98ae09066a72fd07138c6b8 (patch)
treeed88383d9a9b8197a458a877b385499b5a79b8a9 /searchlib/src/vespa/searchlib/features/dotproductfeature.cpp
parentefb1d9c7cee11fa19b088eb8db185016dee471db (diff)
parente58ce1fd9fb41e41d8539a3d8d118c7da034d6b9 (diff)
Merge pull request #22096 from vespa-engine/toregge/change-multivalue-value-from-class-to-using-statementv7.573.29
Change search::multivalue::Value from class to using statement.
Diffstat (limited to 'searchlib/src/vespa/searchlib/features/dotproductfeature.cpp')
-rw-r--r--searchlib/src/vespa/searchlib/features/dotproductfeature.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp
index 008c9e8b54b..3cef5d06043 100644
--- a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp
+++ b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp
@@ -402,8 +402,8 @@ DotProductByContentFillExecutor<BaseType>::~DotProductByContentFillExecutor() =
namespace {
-template<typename T> struct IsNonWeightedType : std::false_type {};
-template<typename BaseType> struct IsNonWeightedType<multivalue::Value<BaseType>> : std::true_type {};
+template<typename T> struct IsNonWeightedType : std::true_type {};
+template<typename BaseType> struct IsNonWeightedType<multivalue::WeightedValue<BaseType>> : std::false_type {};
// Compile-time sanity check for type compatibility of gnarly BaseType <-> multivalue::Value
// reinterpret_cast used by some getAttributeValues calls.