summaryrefslogtreecommitdiffstats
path: root/fnet/src/examples/frt/rpc/rpc_callback_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fnet/src/examples/frt/rpc/rpc_callback_client.cpp')
-rw-r--r--fnet/src/examples/frt/rpc/rpc_callback_client.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/fnet/src/examples/frt/rpc/rpc_callback_client.cpp b/fnet/src/examples/frt/rpc/rpc_callback_client.cpp
index 2bf740f7b1e..3dd936f7fea 100644
--- a/fnet/src/examples/frt/rpc/rpc_callback_client.cpp
+++ b/fnet/src/examples/frt/rpc/rpc_callback_client.cpp
@@ -1,7 +1,9 @@
// 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_callback_client");
#include <vespa/fnet/frt/frt.h>
-#include <vespa/fastos/app.h>
+
struct RPC : public FRT_Invokable
{
@@ -32,7 +34,7 @@ RPC::Init(FRT_Supervisor *s)
class MyApp : public FastOS_Application
{
public:
- int Main() override;
+ virtual int Main() override;
};
int