diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-26 22:01:24 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-26 22:01:24 +0200 |
commit | a7363640b51c476e90e47044ca7a7cef4af0371b (patch) | |
tree | 3ba64a0e94d564a815182e0fe11d509eb57588c9 /fnet/src/tests/sync_execute | |
parent | 46dd4350fd595b42ef213981773487f62c86417b (diff) |
No virtual on override.
Optimize includes.
Diffstat (limited to 'fnet/src/tests/sync_execute')
-rw-r--r-- | fnet/src/tests/sync_execute/sync_execute.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fnet/src/tests/sync_execute/sync_execute.cpp b/fnet/src/tests/sync_execute/sync_execute.cpp index c832ef0330d..ca77ab6f73b 100644 --- a/fnet/src/tests/sync_execute/sync_execute.cpp +++ b/fnet/src/tests/sync_execute/sync_execute.cpp @@ -1,11 +1,11 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> -#include <vespa/fnet/fnet.h> -#include <vespa/vespalib/util/sync.h> +#include <vespa/fnet/transport.h> +#include <vespa/fnet/iexecutable.h> struct DoIt : public FNET_IExecutable { vespalib::Gate gate; - virtual void execute() override { + void execute() override { gate.countDown(); } }; |