summaryrefslogtreecommitdiffstats
path: root/vdslib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-02 14:42:03 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-02 14:42:03 +0200
commit682e4151953f82e582829710bc1e5f21b89a4683 (patch)
treefe45d575104b8b22cbc9924f11dc165f7b48b326 /vdslib
parent0f646f10b377b90fc37e9911f9fe383d112ff157 (diff)
Fix warnings hidden earlier due to including application headers as system includes
Diffstat (limited to 'vdslib')
-rw-r--r--vdslib/src/vespa/vdslib/container/operationlist.cpp5
-rw-r--r--vdslib/src/vespa/vdslib/container/operationlist.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/vdslib/src/vespa/vdslib/container/operationlist.cpp b/vdslib/src/vespa/vdslib/container/operationlist.cpp
index 0355444d25b..6af338a4c0e 100644
--- a/vdslib/src/vespa/vdslib/container/operationlist.cpp
+++ b/vdslib/src/vespa/vdslib/container/operationlist.cpp
@@ -1,4 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
#include "operationlist.h"
#include "documentlist.h"
#include <vespa/document/update/documentupdate.h>
@@ -6,6 +7,10 @@
namespace vdslib {
+OperationList::Operation::~Operation() {}
+OperationList::OperationList() {}
+OperationList::~OperationList() {}
+
int OperationList::getRequiredBufferSize() const {
int bufferSize = 4;
diff --git a/vdslib/src/vespa/vdslib/container/operationlist.h b/vdslib/src/vespa/vdslib/container/operationlist.h
index 609ac9963d8..c43d9e009e4 100644
--- a/vdslib/src/vespa/vdslib/container/operationlist.h
+++ b/vdslib/src/vespa/vdslib/container/operationlist.h
@@ -34,6 +34,7 @@ public:
opt(UPDATE)
{
}
+ ~Operation();
document::DocumentId docId;
std::shared_ptr<document::Document> document;
@@ -73,6 +74,8 @@ public:
Operation(std::shared_ptr<document::DocumentUpdate>(std::move(docUpdate))));
}
+ OperationList();
+ ~OperationList();
private:
std::vector<Operation> _operations;