summaryrefslogtreecommitdiffstats
path: root/vbench
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-08-23 21:45:36 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-08-23 21:45:36 +0200
commitefa813a34dc4decad2b145002798b9207e9753b8 (patch)
tree191c95698244e817bd962d7c6509205e663d8c45 /vbench
parentf1376511dc20469576c0e3b2bceac151f9946054 (diff)
All you need is make_string.
Diffstat (limited to 'vbench')
-rw-r--r--vbench/src/vbench/core/string.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/vbench/src/vbench/core/string.cpp b/vbench/src/vbench/core/string.cpp
index 0884ca1946c..3a9ed24563f 100644
--- a/vbench/src/vbench/core/string.cpp
+++ b/vbench/src/vbench/core/string.cpp
@@ -1,12 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "string.h"
-
-#if USE_VESPA_STRING
-#include <vespa/vespalib/util/vstringfmt.h>
-#else
#include <vespa/vespalib/util/stringfmt.h>
-#endif
namespace vbench {
@@ -14,11 +9,7 @@ string strfmt(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
-#if USE_VESPA_STRING
- string ret = vespalib::make_vespa_string_va(fmt, ap);
-#else
string ret = vespalib::make_string_va(fmt, ap);
-#endif
va_end(ap);
return ret;
}