aboutsummaryrefslogtreecommitdiffstats
path: root/slobrok/src/tests/startsome
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-04-10 15:57:20 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-04-10 15:57:20 +0200
commitc4b08d23a8a2056aa0c1b8b39e8fd2dd3ee49a93 (patch)
treebc253d8d0215829b1a07f8e6a848bbaec0908540 /slobrok/src/tests/startsome
parenta47fadc86827ec7ad33df82d0a295921f67aa3fc (diff)
add override in slobrok module
Diffstat (limited to 'slobrok/src/tests/startsome')
-rw-r--r--slobrok/src/tests/startsome/rpc_info.cpp2
-rw-r--r--slobrok/src/tests/startsome/tstdst.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/slobrok/src/tests/startsome/rpc_info.cpp b/slobrok/src/tests/startsome/rpc_info.cpp
index 09bc6727a2d..76b578d4f88 100644
--- a/slobrok/src/tests/startsome/rpc_info.cpp
+++ b/slobrok/src/tests/startsome/rpc_info.cpp
@@ -65,7 +65,7 @@ public:
}
- int Main()
+ int Main() override
{
if (_argc < 2) {
printf("usage : rpc_info <connectspec> [verbose]\n");
diff --git a/slobrok/src/tests/startsome/tstdst.cpp b/slobrok/src/tests/startsome/tstdst.cpp
index 7e5b21dfc8f..e2f6ae070b3 100644
--- a/slobrok/src/tests/startsome/tstdst.cpp
+++ b/slobrok/src/tests/startsome/tstdst.cpp
@@ -43,7 +43,7 @@ public:
int MainLoop();
void shutdown() { getTransport()->ShutDown(false); }
- void RequestDone(FRT_RPCRequest* req) {
+ void RequestDone(FRT_RPCRequest* req) override {
if (req->IsError()) {
LOG(error, "registration failed: %s", req->GetErrorMessage());
} else {
@@ -182,7 +182,7 @@ TstEnv::MainLoop()
class App : public FastOS_Application
{
public:
- int Main() {
+ int Main() override {
int sbport = 2773;
int myport = 2774;
const char *rpcsrvname = "testrpcsrv/17";