summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-08-02 15:39:40 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-08-02 15:39:40 +0200
commitded842f5c6059c92afde307010155c0575d31c8b (patch)
tree99fd8d79548abe67ac20794489cde4accf135b67 /searchlib
parent6544cc5228dc104ebc254de04f9b728e1e5312fc (diff)
Add clang specific instantiation in dot product feature.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/features/dotproductfeature.cpp3
1 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 e3f4cee4836..8998f01b59e 100644
--- a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp
+++ b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp
@@ -444,6 +444,9 @@ ArrayParam<T>::~ArrayParam() = default;
// FIXME this feels a bit dirty, consider breaking up ArrayParam to remove dependencies
// on templated vector parsing. This is why it's defined in this translation unit as it is.
template ArrayParam<int64_t>::ArrayParam(const Property & prop);
+#ifdef __clang__
+template ArrayParam<int64_t>::~ArrayParam();
+#endif
template struct ArrayParam<double>;
template struct ArrayParam<float>;