aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-04-11 11:44:19 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-04-11 11:44:19 +0200
commitb0f588afc76e7dd6ddd7b93a0e0cfdc65c047e80 (patch)
treeb6bc08842eb7871d6c6c157745218a12db4d8a3a /vespaclient
parent604ff86689cf7c4637c1511bc567a18bd612ce74 (diff)
add override in vespaclient module
Diffstat (limited to 'vespaclient')
-rw-r--r--vespaclient/src/vespa/vespaclient/spoolmaster/application.h2
-rw-r--r--vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp2
-rw-r--r--vespaclient/src/vespa/vespaclient/vespadoclocator/application.h2
-rw-r--r--vespaclient/src/vespa/vespaclient/vespadoclocator/locator.cpp2
-rw-r--r--vespaclient/src/vespa/vespaclient/vesparoute/application.h2
-rw-r--r--vespaclient/src/vespa/vespaclient/vesparoute/mynetwork.h6
6 files changed, 8 insertions, 8 deletions
diff --git a/vespaclient/src/vespa/vespaclient/spoolmaster/application.h b/vespaclient/src/vespa/vespaclient/spoolmaster/application.h
index 1e4ad9c5b9e..87f628e631c 100644
--- a/vespaclient/src/vespa/vespaclient/spoolmaster/application.h
+++ b/vespaclient/src/vespa/vespaclient/spoolmaster/application.h
@@ -34,7 +34,7 @@ public:
virtual ~Application();
// Implements FastOS_Application.
- int Main();
+ int Main() override;
};
}
diff --git a/vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp b/vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp
index a320b7613e2..7ea270eb306 100644
--- a/vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp
+++ b/vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp
@@ -221,7 +221,7 @@ struct StateApp : public FastOS_Application {
StateApp(std::string calledAs) : _options(getMode(calledAs)) {}
- int Main() {
+ int Main() override {
_options.setCommandLineArguments(_argc, _argv);
try{
_options.parse();
diff --git a/vespaclient/src/vespa/vespaclient/vespadoclocator/application.h b/vespaclient/src/vespa/vespaclient/vespadoclocator/application.h
index f498b522fea..2e50ffde2c0 100644
--- a/vespaclient/src/vespa/vespaclient/vespadoclocator/application.h
+++ b/vespaclient/src/vespa/vespaclient/vespadoclocator/application.h
@@ -18,6 +18,6 @@ private:
public:
// Implements FastOS_Application.
- int Main();
+ int Main() override;
};
diff --git a/vespaclient/src/vespa/vespaclient/vespadoclocator/locator.cpp b/vespaclient/src/vespa/vespaclient/vespadoclocator/locator.cpp
index ae2c362aae2..030f284c182 100644
--- a/vespaclient/src/vespa/vespaclient/vespadoclocator/locator.cpp
+++ b/vespaclient/src/vespa/vespaclient/vespadoclocator/locator.cpp
@@ -120,7 +120,7 @@ Locator::configure(const std::string &configId, const std::string &clusterName)
struct MyCB : public mbus::IConfigHandler {
mbus::RoutingSpec mySpec;
MyCB() : mySpec() {}
- bool setupRouting(const mbus::RoutingSpec &spec) {
+ bool setupRouting(const mbus::RoutingSpec &spec) override {
mySpec = spec;
return true;
}
diff --git a/vespaclient/src/vespa/vespaclient/vesparoute/application.h b/vespaclient/src/vespa/vespaclient/vesparoute/application.h
index c4f9d0ef047..e7eefb7f16d 100644
--- a/vespaclient/src/vespa/vespaclient/vesparoute/application.h
+++ b/vespaclient/src/vespa/vespaclient/vesparoute/application.h
@@ -69,7 +69,7 @@ public:
~Application();
// Inherit doc from FastOS_Application.
- int Main();
+ int Main() override;
};
}
diff --git a/vespaclient/src/vespa/vespaclient/vesparoute/mynetwork.h b/vespaclient/src/vespa/vespaclient/vesparoute/mynetwork.h
index c8d959bb4ad..f9737d1de9a 100644
--- a/vespaclient/src/vespa/vespaclient/vesparoute/mynetwork.h
+++ b/vespaclient/src/vespa/vespaclient/vesparoute/mynetwork.h
@@ -20,13 +20,13 @@ public:
MyNetwork(const mbus::RPCNetworkParams &params);
// Overrides RPCNetwork.
- bool allocServiceAddress(mbus::RoutingNode &recipient);
+ bool allocServiceAddress(mbus::RoutingNode &recipient) override;
// Overrides RPCNetwork.
- void freeServiceAddress(mbus::RoutingNode &recipient);
+ void freeServiceAddress(mbus::RoutingNode &recipient) override;
// Overrides RPCNetwork.
- void send(const mbus::Message &msg, const std::vector<mbus::RoutingNode*> &recipients);
+ void send(const mbus::Message &msg, const std::vector<mbus::RoutingNode*> &recipients) override;
/**
* Returns whether or not the given address is actually out of service.