summaryrefslogtreecommitdiffstats
path: root/frtstream
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-02-06 00:57:55 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-02-06 17:57:25 +0100
commit1b9151ab93467dd5508cc9c63b674310df0ab0b3 (patch)
tree11e62fae250894b6e61d580bf95eaf7014fc5fce /frtstream
parent65dcaa714247b95459495338f044e89446d9a986 (diff)
Optimize includes.
Diffstat (limited to 'frtstream')
-rw-r--r--frtstream/src/example/simple.cpp8
-rw-r--r--frtstream/src/vespa/frtstream/frtclientstream.cpp4
-rw-r--r--frtstream/src/vespa/frtstream/frtstream.cpp6
3 files changed, 4 insertions, 14 deletions
diff --git a/frtstream/src/example/simple.cpp b/frtstream/src/example/simple.cpp
index 000a9edbc8f..5d4a5d067c7 100644
--- a/frtstream/src/example/simple.cpp
+++ b/frtstream/src/example/simple.cpp
@@ -1,14 +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 <iostream>
-#include <csignal>
-#include <vector>
-#include <string>
-#include <set>
+#include <vespa/fastos/app.h>
#include <vespa/frtstream/frtclientstream.h>
-
using namespace std;
using frtstream::FrtClientStream;
using frtstream::Method;
diff --git a/frtstream/src/vespa/frtstream/frtclientstream.cpp b/frtstream/src/vespa/frtstream/frtclientstream.cpp
index 5c8de136fd4..142b0d1fda0 100644
--- a/frtstream/src/vespa/frtstream/frtclientstream.cpp
+++ b/frtstream/src/vespa/frtstream/frtclientstream.cpp
@@ -1,11 +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/frtstream/frtclientstream.h>
+#include "frtclientstream.h"
using namespace fnet;
-
namespace frtstream {
FrtClientStream::FrtClientStream(const std::string& connectionSpec)
diff --git a/frtstream/src/vespa/frtstream/frtstream.cpp b/frtstream/src/vespa/frtstream/frtstream.cpp
index 0e45f823f12..9b549a90120 100644
--- a/frtstream/src/vespa/frtstream/frtstream.cpp
+++ b/frtstream/src/vespa/frtstream/frtstream.cpp
@@ -1,11 +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 "frtstream.h"
#include <algorithm>
#include <ostream>
-
-#include <vespa/frtstream/frtstream.h>
-
using namespace fnet;
namespace frtstream {