aboutsummaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2017-12-11 12:26:11 +0100
committerTor Egge <Tor.Egge@broadpark.no>2017-12-11 12:26:11 +0100
commit8d098a9dadc5e3fe7483ff1ba2aaae44d58dea38 (patch)
tree4301322f5edb4e2f93b35cb65ba539a555cff6dd /document
parentc64cebe292f68fc37864827a54751123aec0a5e9 (diff)
Don't inline FieldExprNode destructor.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/select/valuenodes.cpp2
-rw-r--r--document/src/vespa/document/select/valuenodes.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/document/src/vespa/document/select/valuenodes.cpp b/document/src/vespa/document/select/valuenodes.cpp
index a0bbde0d21b..837ebd873e3 100644
--- a/document/src/vespa/document/select/valuenodes.cpp
+++ b/document/src/vespa/document/select/valuenodes.cpp
@@ -1090,6 +1090,8 @@ ArithmeticValueNode::print(std::ostream& out, bool verbose,
if (hadParentheses()) out << ')';
}
+FieldExprNode::~FieldExprNode() = default;
+
std::unique_ptr<FieldValueNode> FieldExprNode::convert_to_field_value() const {
const auto& doctype = resolve_doctype();
// FIXME deprecate manual post-parsing of field expressions in favor of
diff --git a/document/src/vespa/document/select/valuenodes.h b/document/src/vespa/document/select/valuenodes.h
index 4257516d227..bc1ec0e01e8 100644
--- a/document/src/vespa/document/select/valuenodes.h
+++ b/document/src/vespa/document/select/valuenodes.h
@@ -199,7 +199,7 @@ public:
FieldExprNode & operator = (const FieldExprNode &) = delete;
FieldExprNode(FieldExprNode &&) = default;
FieldExprNode & operator = (FieldExprNode &&) = default;
- ~FieldExprNode() = default;
+ ~FieldExprNode();
std::unique_ptr<FieldValueNode> convert_to_field_value() const;
std::unique_ptr<FunctionValueNode> convert_to_function_call() const;