summaryrefslogtreecommitdiffstats
path: root/slobrok/src/tests/oldapi/mirror.h
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-30 00:17:46 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-30 00:17:46 +0200
commitac40360439b406d700c417076ec169f509468269 (patch)
tree5f41d4445fc398aa360810de0df9ee3a8c8a7aa2 /slobrok/src/tests/oldapi/mirror.h
parentb5434960947f06f914569324d0b5e803eb7d4eef (diff)
Reduce exposure of fastos.h and frt.h.
Only include what you need where you need it.
Diffstat (limited to 'slobrok/src/tests/oldapi/mirror.h')
-rw-r--r--slobrok/src/tests/oldapi/mirror.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/slobrok/src/tests/oldapi/mirror.h b/slobrok/src/tests/oldapi/mirror.h
index b83392dec5e..b6259c76b7e 100644
--- a/slobrok/src/tests/oldapi/mirror.h
+++ b/slobrok/src/tests/oldapi/mirror.h
@@ -1,12 +1,13 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-#include <vespa/fnet/frt/frt.h>
#include <vespa/vespalib/util/gencnt.h>
#include <vespa/slobrok/backoff.h>
+#include <vespa/fnet/frt/invoker.h>
-namespace slobrok {
-namespace api {
+class FRT_Target;
+
+namespace slobrok::api {
/**
* @brief Defines an interface for the name server lookup.
@@ -122,5 +123,4 @@ private:
FRT_RPCRequest *_req;
};
-} // namespace api
-} // namespace slobrok
+} // namespace slobrok::api