aboutsummaryrefslogtreecommitdiffstats
path: root/fnet/src/examples/timeout
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-04-05 02:32:06 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-04-23 02:03:47 +0200
commitb57308e4a134fb6139d2cb52a031d3e7185f16cf (patch)
tree7c31d445e2f76bb737ef90ce29e0e7e6738d6eb1 /fnet/src/examples/timeout
parent40b8ba5a3f34028d208d4e0dc1b46940d6fe5a47 (diff)
Use override
Diffstat (limited to 'fnet/src/examples/timeout')
-rw-r--r--fnet/src/examples/timeout/timeout.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/fnet/src/examples/timeout/timeout.cpp b/fnet/src/examples/timeout/timeout.cpp
index 8a52d769282..7edfbe4fb1c 100644
--- a/fnet/src/examples/timeout/timeout.cpp
+++ b/fnet/src/examples/timeout/timeout.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("timeout");
-#include <vespa/fnet/fnet.h>
+#include <vespa/fnet/fnet.h>
+#include <vespa/fastos/app.h>
class Timeout : public FNET_Task
{
@@ -20,7 +18,7 @@ public:
_queue(queue)
{}
- virtual void PerformTask() override;
+ void PerformTask() override;
};