diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-11 11:46:01 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-11 11:46:01 +0200 |
commit | 689541432c21eea3a3d612726974d008676be8ae (patch) | |
tree | 8e78c62438aa61ac93feda3a473dc70c2379d8db /storage/src/tests/distributor/statusreporterdelegatetest.cpp | |
parent | a7747a035821de936c9bf9eba05c2c9c4ac1291f (diff) |
add override in storage tests
Diffstat (limited to 'storage/src/tests/distributor/statusreporterdelegatetest.cpp')
-rw-r--r-- | storage/src/tests/distributor/statusreporterdelegatetest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/tests/distributor/statusreporterdelegatetest.cpp b/storage/src/tests/distributor/statusreporterdelegatetest.cpp index f05eebed0ce..f136b00244a 100644 --- a/storage/src/tests/distributor/statusreporterdelegatetest.cpp +++ b/storage/src/tests/distributor/statusreporterdelegatetest.cpp @@ -26,7 +26,7 @@ namespace { class MockDelegator : public StatusDelegator { mutable std::ostringstream _calls; - bool handleStatusRequest(const DelegatedStatusRequest& request) const { + bool handleStatusRequest(const DelegatedStatusRequest& request) const override { _calls << "Request(" << request.path << ")"; return request.reporter.reportStatus(request.outputStream, request.path); } @@ -43,13 +43,13 @@ public: : framework::StatusReporter("foo", "Bar") {} vespalib::string getReportContentType( - const framework::HttpUrlPath&) const + const framework::HttpUrlPath&) const override { return "foo/bar"; } bool reportStatus(std::ostream& os, - const framework::HttpUrlPath& path) const + const framework::HttpUrlPath& path) const override { os << "reportStatus with " << path; return true; |