summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-07-27 14:37:44 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-07-31 17:27:03 +0200
commit60d5aaa6087b9092153e82466206e598124c3c24 (patch)
tree09a493e219701a30b37d3481510ad68fc7660fe9 /searchlib
parent2c6c59936b99a18d364d46aeee2974aeef25774b (diff)
Partly revert previous commit
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp b/searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp
index 19196e72771..d7209f4dd6d 100644
--- a/searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp
+++ b/searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp
@@ -29,7 +29,7 @@ DocumentFieldNode::~DocumentFieldNode()
DocumentFieldNode::DocumentFieldNode(const DocumentFieldNode & rhs) :
DocumentAccessorNode(rhs),
-// _fieldPath(rhs._fieldPath),
+ _fieldPath(rhs._fieldPath),
_value(rhs._value),
_fieldName(rhs._fieldName),
_doc(NULL)
@@ -40,7 +40,7 @@ DocumentFieldNode & DocumentFieldNode::operator = (const DocumentFieldNode & rhs
{
if (this != &rhs) {
DocumentAccessorNode::operator=(rhs);
-// _fieldPath = rhs._fieldPath;
+ _fieldPath = rhs._fieldPath;
_value = rhs._value;
_fieldName = rhs._fieldName;
_doc = NULL;