diff options
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/bucket/bucketspace.cpp | 5 | ||||
-rw-r--r-- | document/src/vespa/document/bucket/bucketspace.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/document/src/vespa/document/bucket/bucketspace.cpp b/document/src/vespa/document/bucket/bucketspace.cpp index 304631ce334..7c1c816b5ba 100644 --- a/document/src/vespa/document/bucket/bucketspace.cpp +++ b/document/src/vespa/document/bucket/bucketspace.cpp @@ -20,4 +20,9 @@ vespalib::asciistream& operator<<(vespalib::asciistream& os, const BucketSpace& << ")"; } +std::ostream& operator<<(std::ostream& os, const BucketSpace& bucketSpace) +{ + return os << bucketSpace.toString(); +} + } diff --git a/document/src/vespa/document/bucket/bucketspace.h b/document/src/vespa/document/bucket/bucketspace.h index c13c81dbd73..1198b173a4b 100644 --- a/document/src/vespa/document/bucket/bucketspace.h +++ b/document/src/vespa/document/bucket/bucketspace.h @@ -42,5 +42,6 @@ private: }; vespalib::asciistream& operator<<(vespalib::asciistream&, const BucketSpace&); +std::ostream& operator<<(std::ostream&, const BucketSpace&); } |