diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-02 14:42:02 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-02 14:42:02 +0200 |
commit | 3c9d00b1ec27b0b446491e46299fb17a6dcf26dc (patch) | |
tree | 9475fb86716b3bd5e7535d994340d8942c394f69 /streamingvisitors | |
parent | 0f646f10b377b90fc37e9911f9fe383d112ff157 (diff) |
Fix warnings hidden earlier due to including application headers as system includes
Diffstat (limited to 'streamingvisitors')
-rw-r--r-- | streamingvisitors/src/tests/hitcollector/hitcollector.cpp | 3 | ||||
-rw-r--r-- | streamingvisitors/src/tests/searchvisitor/searchvisitor.cpp | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/streamingvisitors/src/tests/hitcollector/hitcollector.cpp b/streamingvisitors/src/tests/hitcollector/hitcollector.cpp index ba37da9e511..dc10ea168c0 100644 --- a/streamingvisitors/src/tests/hitcollector/hitcollector.cpp +++ b/streamingvisitors/src/tests/hitcollector/hitcollector.cpp @@ -33,6 +33,7 @@ private: public: HitCollectorTest(); + ~HitCollectorTest(); int Main() override; }; @@ -41,6 +42,8 @@ HitCollectorTest::HitCollectorTest() { } +HitCollectorTest::~HitCollectorTest() {} + void HitCollectorTest::assertHit(SearchResult::RankType expRank, uint32_t hitNo, SearchResult & rs) { diff --git a/streamingvisitors/src/tests/searchvisitor/searchvisitor.cpp b/streamingvisitors/src/tests/searchvisitor/searchvisitor.cpp index 6081b5c3ac2..f0c0be340c2 100644 --- a/streamingvisitors/src/tests/searchvisitor/searchvisitor.cpp +++ b/streamingvisitors/src/tests/searchvisitor/searchvisitor.cpp @@ -29,6 +29,7 @@ private: public: SearchVisitorTest(); + ~SearchVisitorTest(); int Main() override; }; @@ -42,7 +43,9 @@ SearchVisitorTest::SearchVisitorTest() : StorageComponent::DocumentTypeRepoSP repo(new DocumentTypeRepo(readDocumenttypesConfig(TEST_PATH("cfg/documenttypes.cfg")))); _componentRegister.setDocumentTypeRepo(repo); _component.reset(new StorageComponent(_componentRegister, "storage")); -}; +} + +SearchVisitorTest::~SearchVisitorTest() {} std::vector<spi::DocEntry::UP> createDocuments(const vespalib::string & dir) |