diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-23 21:45:36 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-23 21:45:36 +0200 |
commit | efa813a34dc4decad2b145002798b9207e9753b8 (patch) | |
tree | 191c95698244e817bd962d7c6509205e663d8c45 /persistence/src | |
parent | f1376511dc20469576c0e3b2bceac151f9946054 (diff) |
All you need is make_string.
Diffstat (limited to 'persistence/src')
-rw-r--r-- | persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp b/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp index 489af79d595..43e1e3e60a1 100644 --- a/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp +++ b/persistence/src/vespa/persistence/dummyimpl/dummypersistence.cpp @@ -5,19 +5,19 @@ #include <vespa/document/base/documentid.h> #include <vespa/document/fieldvalue/document.h> #include <vespa/vespalib/util/crc.h> -#include <vespa/vespalib/util/vstringfmt.h> #include <vespa/document/fieldset/fieldsetrepo.h> #include <vespa/vespalib/stllike/asciistream.h> #include <vespa/vespalib/util/exceptions.h> #include <vespa/vespalib/stllike/hash_map.hpp> #include <algorithm> -using std::binary_search; -using std::lower_bound; - #include <vespa/log/log.h> LOG_SETUP(".dummypersistence"); +using vespalib::make_string; +using std::binary_search; +using std::lower_bound; + namespace storage::spi::dummy { BucketContent::BucketContent() @@ -678,10 +678,8 @@ DummyPersistence::iterate(IteratorId id, uint64_t maxByteSize, Context& ctx) con it->_leftToIterate.pop_back(); } if (ctx.shouldTrace(9)) { - ctx.trace(9, vespalib::make_vespa_string("finished iterate(), returning %zu " - "documents with %u bytes of data", - entries.size(), - currentSize)); + ctx.trace(9, make_string("finished iterate(), returning %zu documents with %u bytes of data", + entries.size(), currentSize)); } LOG(debug, "finished iterate(%zu, %zu), returning %zu documents " "with %u bytes of data. %u docs cloned in fast path", |