diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-01 15:19:50 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-12 02:55:42 +0100 |
commit | 84c98118ff346b35e1843f963d48038665211bfc (patch) | |
tree | d5b49ede9884d7efa768528dce51d7b794114f0a /storage | |
parent | 873fc7efc930f21d5b9bd22aa94f90193d85d36c (diff) |
Include asciistream in implementation only.
Diffstat (limited to 'storage')
3 files changed, 9 insertions, 4 deletions
diff --git a/storage/src/vespa/storage/distributor/activecopy.cpp b/storage/src/vespa/storage/distributor/activecopy.cpp index 6c2fba75d2a..6ef783fb469 100644 --- a/storage/src/vespa/storage/distributor/activecopy.cpp +++ b/storage/src/vespa/storage/distributor/activecopy.cpp @@ -1,10 +1,11 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/storage/distributor/activecopy.h> +#include "activecopy.h" #include <vespa/storage/storageutil/utils.h> #include <vespa/vdslib/distribution/distribution.h> #include <algorithm> +#include <vespa/vespalib/stllike/asciistream.h> namespace std { template<typename T> diff --git a/storage/src/vespa/storage/distributor/operationtargetresolverimpl.cpp b/storage/src/vespa/storage/distributor/operationtargetresolverimpl.cpp index 6f71abaabb8..fba6b131e09 100644 --- a/storage/src/vespa/storage/distributor/operationtargetresolverimpl.cpp +++ b/storage/src/vespa/storage/distributor/operationtargetresolverimpl.cpp @@ -2,6 +2,7 @@ #include "operationtargetresolverimpl.h" #include <vespa/vespalib/util/exceptions.h> +#include <vespa/vespalib/util/printable.hpp> #include <sstream> namespace storage { @@ -138,6 +139,11 @@ BucketInstanceList::createTargets() return result; } +void +BucketInstanceList::print(vespalib::asciistream& out, const PrintProperties& p) const { + vespalib::print(_instances, out, p); +} + namespace { /** diff --git a/storage/src/vespa/storage/distributor/operationtargetresolverimpl.h b/storage/src/vespa/storage/distributor/operationtargetresolverimpl.h index 25ce4be09dc..d5a4731c0de 100644 --- a/storage/src/vespa/storage/distributor/operationtargetresolverimpl.h +++ b/storage/src/vespa/storage/distributor/operationtargetresolverimpl.h @@ -73,9 +73,7 @@ public: OperationTargetList createTargets(); - void print(vespalib::asciistream& out, const PrintProperties& p) const override { - vespalib::print(_instances, out, p); - } + void print(vespalib::asciistream& out, const PrintProperties& p) const override; }; class OperationTargetResolverImpl : public OperationTargetResolver { |