summaryrefslogtreecommitdiffstats
path: root/vdslib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-02-01 20:23:03 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-02-01 20:31:30 +0000
commit9f502a22ca42e3e9e143f24aae24e03ab82ea304 (patch)
tree8877be6972edca32247eefd1a712ca29770ae00e /vdslib
parent54cd94fa8d90a8b56c4b64ab2aba3b9c1d5bc5d9 (diff)
deinline destructors.
Diffstat (limited to 'vdslib')
-rw-r--r--vdslib/src/vespa/vdslib/container/searchresult.cpp4
-rw-r--r--vdslib/src/vespa/vdslib/container/searchresult.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/vdslib/src/vespa/vdslib/container/searchresult.cpp b/vdslib/src/vespa/vdslib/container/searchresult.cpp
index 6989fbca8e0..3d7ae1631af 100644
--- a/vdslib/src/vespa/vdslib/container/searchresult.cpp
+++ b/vdslib/src/vespa/vdslib/container/searchresult.cpp
@@ -121,9 +121,11 @@ SearchResult::SearchResult(document::ByteBuffer & buf) :
deserialize(buf);
}
+SearchResult::SearchResult(SearchResult &&) noexcept = default;
SearchResult::~SearchResult() = default;
-void SearchResult::deserialize(document::ByteBuffer & buf)
+void
+SearchResult::deserialize(document::ByteBuffer & buf)
{
int32_t tmp;
buf.getIntNetwork(tmp); _totalHits = tmp;
diff --git a/vdslib/src/vespa/vdslib/container/searchresult.h b/vdslib/src/vespa/vdslib/container/searchresult.h
index 90fb282c8fd..2be2e5ee1c6 100644
--- a/vdslib/src/vespa/vdslib/container/searchresult.h
+++ b/vdslib/src/vespa/vdslib/container/searchresult.h
@@ -52,6 +52,7 @@ public:
* @param buf A byte buffer that contains a serialized message.
*/
SearchResult(document::ByteBuffer & buf);
+ SearchResult(SearchResult &&) noexcept;
~SearchResult();
AggregatorList & getGroupingList() { return _groupingList; }