diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-11 11:44:15 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-11 11:44:15 +0200 |
commit | 6682a2b49797e051638f0e5620088eb997739e80 (patch) | |
tree | 138fb19ed089e52cf16735cd011548e8f3fb272d /configutil/src/tests/model_inspect/model_inspect_test.cpp | |
parent | 221c4cbc0f0c1df1541f6f89ec41c4bd2f5457c6 (diff) |
add override in configutil module
Diffstat (limited to 'configutil/src/tests/model_inspect/model_inspect_test.cpp')
-rw-r--r-- | configutil/src/tests/model_inspect/model_inspect_test.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/configutil/src/tests/model_inspect/model_inspect_test.cpp b/configutil/src/tests/model_inspect/model_inspect_test.cpp index 3273e07653e..be45d4d0d46 100644 --- a/configutil/src/tests/model_inspect/model_inspect_test.cpp +++ b/configutil/src/tests/model_inspect/model_inspect_test.cpp @@ -84,18 +84,18 @@ public: _getIndexOf = false; }; - void yamlDump() { _yamlDump = true; }; - void listHosts() { _listHosts = true; }; - void listServices() { _listServices = true; }; - void listClusters() { _listClusters = true; }; - void listConfigIds() { _listConfigIds = true; }; - int listHost(const vespalib::string) { _listHost = true; return 0; }; - int listAllPorts() { _listAllPorts = true; return 0; }; - int listCluster(const vespalib::string) { _listCluster = true; return 0; }; - int listService(const vespalib::string) { _listService = true; return 0; }; - int listService(const vespalib::string, const vespalib::string) { _listService2 = true; return 0; }; - int listConfigId(const vespalib::string) { _listConfigId = true; return 0; }; - int getIndexOf(const vespalib::string, const vespalib::string) { _getIndexOf = true; return 0; }; + void yamlDump() override { _yamlDump = true; }; + void listHosts() override { _listHosts = true; }; + void listServices() override { _listServices = true; }; + void listClusters() override { _listClusters = true; }; + void listConfigIds() override { _listConfigIds = true; }; + int listHost(const vespalib::string) override { _listHost = true; return 0; }; + int listAllPorts() override { _listAllPorts = true; return 0; }; + int listCluster(const vespalib::string) override { _listCluster = true; return 0; }; + int listService(const vespalib::string) override { _listService = true; return 0; }; + int listService(const vespalib::string, const vespalib::string) override { _listService2 = true; return 0; }; + int listConfigId(const vespalib::string) override { _listConfigId = true; return 0; }; + int getIndexOf(const vespalib::string, const vespalib::string) override { _getIndexOf = true; return 0; }; ~ModelDummy() {}; }; |