summaryrefslogtreecommitdiffstats
path: root/fnet/src/examples/frt/rpc/rpc_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fnet/src/examples/frt/rpc/rpc_info.cpp')
-rw-r--r--fnet/src/examples/frt/rpc/rpc_info.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/fnet/src/examples/frt/rpc/rpc_info.cpp b/fnet/src/examples/frt/rpc/rpc_info.cpp
index ae9eafa210d..5b7aebd6bdd 100644
--- a/fnet/src/examples/frt/rpc/rpc_info.cpp
+++ b/fnet/src/examples/frt/rpc/rpc_info.cpp
@@ -1,7 +1,8 @@
// 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_info");
#include <vespa/fnet/frt/frt.h>
-#include <vespa/fastos/app.h>
class RPCInfo : public FastOS_Application
{
@@ -63,7 +64,7 @@ public:
printf("\n");
}
- int Main() override;
+ virtual int Main() override;
};