summaryrefslogtreecommitdiffstats
path: root/eval
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-10-30 14:04:40 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-10-30 14:18:38 +0100
commite24a8caab98ecfef8f1a537a3a26c6f1e3455c67 (patch)
treeedbff50ec98a57d50b3868ff136a2eedb2ec8c41 /eval
parent553fbac3137ffb5fb0559c4052f46e061beb3b0a (diff)
Add explicit instantiation declaration for ScalarValue<double> and
ScalarValue<float>.
Diffstat (limited to 'eval')
-rw-r--r--eval/src/vespa/eval/eval/value.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval/src/vespa/eval/eval/value.h b/eval/src/vespa/eval/eval/value.h
index 0902a7c1752..e876ba7b472 100644
--- a/eval/src/vespa/eval/eval/value.h
+++ b/eval/src/vespa/eval/eval/value.h
@@ -103,6 +103,9 @@ public:
static const ValueType &shared_type() { return _type; }
};
+extern template class ScalarValue<double>;
+extern template class ScalarValue<float>;
+
using DoubleValue = ScalarValue<double>;
/**