diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-01 17:12:26 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-12 02:55:43 +0100 |
commit | e2d35ebcf9378671e4dec6f6388587a00761a4ef (patch) | |
tree | e19f725179ec2c4bb3b741a731b177dd633f761f /persistence | |
parent | 4b34fcbb1fbfb1bd6089d301097a90c75fe355d5 (diff) |
Include asciistream in implementation only.
Diffstat (limited to 'persistence')
4 files changed, 10 insertions, 5 deletions
diff --git a/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp b/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp index 11381e5c004..fcfd8299ac1 100644 --- a/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp +++ b/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp @@ -1,7 +1,5 @@ // 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> #include <algorithm> #include <vespa/persistence/dummyimpl/dummypersistence.h> #include <vespa/document/select/parser.h> @@ -12,6 +10,8 @@ #include <vespa/vespalib/util/vstringfmt.h> #include <vespa/document/fieldset/fieldsetrepo.h> #include <vespa/vespalib/stllike/hash_set.h> +#include <vespa/vespalib/stllike/asciistream.h> +#include <vespa/log/log.h> using std::binary_search; using std::lower_bound; diff --git a/persistence/src/vespa/persistence/spi/bucketinfo.cpp b/persistence/src/vespa/persistence/spi/bucketinfo.cpp index 2a535b79636..55194f427a7 100644 --- a/persistence/src/vespa/persistence/spi/bucketinfo.cpp +++ b/persistence/src/vespa/persistence/spi/bucketinfo.cpp @@ -1,7 +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/persistence/spi/bucketinfo.h> +#include "bucketinfo.h" +#include <vespa/vespalib/stllike/asciistream.h> namespace storage { namespace spi { diff --git a/persistence/src/vespa/persistence/spi/bucketinfo.h b/persistence/src/vespa/persistence/spi/bucketinfo.h index d5d2440820a..ad869c0add3 100644 --- a/persistence/src/vespa/persistence/spi/bucketinfo.h +++ b/persistence/src/vespa/persistence/spi/bucketinfo.h @@ -7,7 +7,10 @@ #pragma once #include <persistence/spi/types.h> -#include <vespa/vespalib/stllike/asciistream.h> + +namespace vespalib { + class asciistream; +} namespace storage { namespace spi { diff --git a/persistence/src/vespa/persistence/spi/result.cpp b/persistence/src/vespa/persistence/spi/result.cpp index 4734a669c6e..4d86fc01212 100644 --- a/persistence/src/vespa/persistence/spi/result.cpp +++ b/persistence/src/vespa/persistence/spi/result.cpp @@ -2,6 +2,8 @@ #include "result.h" #include <vespa/document/fieldvalue/document.h> +#include <vespa/vespalib/stllike/asciistream.h> + namespace storage { |