aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-08-14 16:39:52 +0000
committerHenning Baldersheim <balder@oath.com>2018-08-15 08:39:59 +0200
commit3a6e89f6c58d02a7a3a249b7dda19997281a2d4b (patch)
tree7dff16081f9a6d52227c367c65d33b59be36a729 /searchlib
parent7892f289d3cebcdba6ab16d035c41826b7cb7987 (diff)
Deinline for gcc 8
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/tests/memoryindex/dictionary/dictionary_test.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/searchlib/src/tests/memoryindex/dictionary/dictionary_test.cpp b/searchlib/src/tests/memoryindex/dictionary/dictionary_test.cpp
index 0990f21f820..c461fe32d77 100644
--- a/searchlib/src/tests/memoryindex/dictionary/dictionary_test.cpp
+++ b/searchlib/src/tests/memoryindex/dictionary/dictionary_test.cpp
@@ -250,6 +250,7 @@ class MockDictionary
uint32_t _fieldId;
public:
+ ~MockDictionary();
void
setNextWord(const vespalib::string &word)
{
@@ -295,6 +296,7 @@ public:
}
};
+MockDictionary::~MockDictionary() = default;
/**
* MockWordStoreScan is a helper class to ensure that previous word is
@@ -314,8 +316,8 @@ public:
_word1(),
_prevWord(&_word0),
_word(&_word1)
- {
- }
+ { }
+ ~MockWordStoreScan();
const vespalib::string &
getWord() const
@@ -332,6 +334,7 @@ public:
}
};
+MockWordStoreScan::~MockWordStoreScan() = default;
/**
* MyInserter performs insertions on both a mockup version of memory index
* and a real memory index. Mockup version is used to calculate expected
@@ -355,6 +358,7 @@ public:
{
_features.addNextOcc(0, 0, 1, 1);
}
+ ~MyInserter();
void
setNextWord(const vespalib::string &word)
@@ -433,6 +437,7 @@ public:
Dictionary &getDict() { return _d; }
};
+MyInserter::~MyInserter() = default;
void
myremove(uint32_t docId, DocumentInverter &inv, Dictionary &d,
ISequencedTaskExecutor &invertThreads)