summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahoo-inc.com>2017-03-13 13:51:40 +0000
committerTor Brede Vekterli <vekterli@yahoo-inc.com>2017-03-13 14:20:46 +0000
commit6c6a2f7b840f65209563ec1553cc71cfa02683a6 (patch)
tree666d79fd6b24257944b438d5daf9ce66c342a3ab /storage
parent720617cf9e441059558870525cfefe94a85df788 (diff)
Create explicit, non implicitly inlined function definitions
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/frameworkimpl/thread/deadlockdetector.cpp5
-rw-r--r--storage/src/vespa/storage/persistence/testandsethelper.cpp3
-rw-r--r--storage/src/vespa/storage/persistence/testandsethelper.h1
3 files changed, 9 insertions, 0 deletions
diff --git a/storage/src/vespa/storage/frameworkimpl/thread/deadlockdetector.cpp b/storage/src/vespa/storage/frameworkimpl/thread/deadlockdetector.cpp
index 06972b60cee..b904a0ea103 100644
--- a/storage/src/vespa/storage/frameworkimpl/thread/deadlockdetector.cpp
+++ b/storage/src/vespa/storage/frameworkimpl/thread/deadlockdetector.cpp
@@ -256,7 +256,12 @@ namespace {
_maxProcTickTimeSeen._alignment = Column::LEFT;
_maxWaitTickTimeSeen._alignment = Column::LEFT;
}
+ ~ThreadTable();
};
+
+ ThreadTable::~ThreadTable() {
+ }
+
struct ThreadStatusWriter : public DeadLockDetector::ThreadVisitor {
ThreadTable& _table;
framework::MilliSecTime _time;
diff --git a/storage/src/vespa/storage/persistence/testandsethelper.cpp b/storage/src/vespa/storage/persistence/testandsethelper.cpp
index 7ea40720f27..3108a8f03c4 100644
--- a/storage/src/vespa/storage/persistence/testandsethelper.cpp
+++ b/storage/src/vespa/storage/persistence/testandsethelper.cpp
@@ -49,6 +49,9 @@ TestAndSetHelper::TestAndSetHelper(PersistenceThread & thread, const api::TestAn
parseDocumentSelection();
}
+TestAndSetHelper::~TestAndSetHelper() {
+}
+
api::ReturnCode TestAndSetHelper::retrieveAndMatch() {
// Walk document selection tree to build a minimal field set
FieldVisitor fieldVisitor(*_docTypePtr);
diff --git a/storage/src/vespa/storage/persistence/testandsethelper.h b/storage/src/vespa/storage/persistence/testandsethelper.h
index 9c220547c7f..52797a38054 100644
--- a/storage/src/vespa/storage/persistence/testandsethelper.h
+++ b/storage/src/vespa/storage/persistence/testandsethelper.h
@@ -33,6 +33,7 @@ class TestAndSetHelper {
public:
TestAndSetHelper(PersistenceThread & thread, const api::TestAndSetCommand & cmd);
+ ~TestAndSetHelper();
api::ReturnCode retrieveAndMatch();
};