diff options
Diffstat (limited to 'vbench')
-rw-r--r-- | vbench/src/vbench/core/string.cpp | 9 |
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; } |