From 1b9151ab93467dd5508cc9c63b674310df0ab0b3 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Mon, 6 Feb 2017 00:57:55 +0100 Subject: Optimize includes. --- frtstream/src/example/simple.cpp | 8 +------- frtstream/src/vespa/frtstream/frtclientstream.cpp | 4 +--- frtstream/src/vespa/frtstream/frtstream.cpp | 6 ++---- 3 files changed, 4 insertions(+), 14 deletions(-) (limited to 'frtstream/src') 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 -#include -#include -#include -#include -#include +#include #include - 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 -#include +#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 + +#include "frtstream.h" #include #include - -#include - using namespace fnet; namespace frtstream { -- cgit v1.2.3