summaryrefslogtreecommitdiffstats
path: root/fnet/src/examples/frt/rpc/rpc_proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fnet/src/examples/frt/rpc/rpc_proxy.cpp')
-rw-r--r--fnet/src/examples/frt/rpc/rpc_proxy.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/fnet/src/examples/frt/rpc/rpc_proxy.cpp b/fnet/src/examples/frt/rpc/rpc_proxy.cpp
index 6c805d6a173..e73f556b9d8 100644
--- a/fnet/src/examples/frt/rpc/rpc_proxy.cpp
+++ b/fnet/src/examples/frt/rpc/rpc_proxy.cpp
@@ -1,9 +1,7 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("rpc_proxy");
-#include <vespa/fnet/frt/frt.h>
+#include <vespa/fnet/frt/frt.h>
+#include <vespa/fastos/app.h>
//-----------------------------------------------------------------------------
struct Session
@@ -68,7 +66,7 @@ private:
public:
ReqDone(RPCProxy &proxy) : _proxy(proxy) {}
- virtual void RequestDone(FRT_RPCRequest *req) override;
+ void RequestDone(FRT_RPCRequest *req) override;
};
void
@@ -209,7 +207,7 @@ RPCProxy::HOOK_Fini(FRT_RPCRequest *req)
class App : public FastOS_Application
{
public:
- virtual int Main() override;
+ int Main() override;
};
int