summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-09 07:32:17 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-15 15:39:20 +0000
commit52e4008dfce9538a050abed6aa56a6c1973f7161 (patch)
tree88064d60932cf9c42c7ae7d480569c2d7811c4d9 /searchlib
parent6c0abdc7e1df312f58172ad0cf3c4ea20c705dd6 (diff)
exchange data about all possible locations
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/common/documentlocations.cpp4
-rw-r--r--searchlib/src/vespa/searchlib/common/documentlocations.h4
-rw-r--r--searchlib/src/vespa/searchlib/fef/location.h2
3 files changed, 7 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchlib/common/documentlocations.cpp b/searchlib/src/vespa/searchlib/common/documentlocations.cpp
index b03176f0ad2..b8f05581b41 100644
--- a/searchlib/src/vespa/searchlib/common/documentlocations.cpp
+++ b/searchlib/src/vespa/searchlib/common/documentlocations.cpp
@@ -21,5 +21,9 @@ DocumentLocations::setVecGuard(std::unique_ptr<search::AttributeGuard> guard) {
setVec(*_vec_guard.get()->get());
}
+DocumentLocations::DocumentLocations(DocumentLocations &&) = default;
+DocumentLocations & DocumentLocations::operator = (DocumentLocations &&) = default;
+
+
} // namespace common
} // namespace search
diff --git a/searchlib/src/vespa/searchlib/common/documentlocations.h b/searchlib/src/vespa/searchlib/common/documentlocations.h
index 1dab68ca11f..51d5be76e65 100644
--- a/searchlib/src/vespa/searchlib/common/documentlocations.h
+++ b/searchlib/src/vespa/searchlib/common/documentlocations.h
@@ -25,8 +25,8 @@ private:
const search::attribute::IAttributeVector *_vec;
public:
- DocumentLocations(DocumentLocations &&) = default;
- DocumentLocations & operator = (DocumentLocations &&) = default;
+ DocumentLocations(DocumentLocations &&);
+ DocumentLocations & operator = (DocumentLocations &&);
DocumentLocations();
virtual ~DocumentLocations();
diff --git a/searchlib/src/vespa/searchlib/fef/location.h b/searchlib/src/vespa/searchlib/fef/location.h
index 5be7d1ce822..3bc693e11b4 100644
--- a/searchlib/src/vespa/searchlib/fef/location.h
+++ b/searchlib/src/vespa/searchlib/fef/location.h
@@ -39,7 +39,7 @@ public:
}
/**
- * Returns the name of the attribute to use for x positions.
+ * Returns the name of the attribute to use for positions.
*
* @return the attribute name.
**/