aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/stringfmt/fmt.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-04-03 20:22:16 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-04-04 16:36:18 +0200
commit5a48a81c4134bae524aa66e1e49624f678c8b6ce (patch)
tree04cf54e814d86a98cd5407510981edb28736dcc3 /vespalib/src/tests/stringfmt/fmt.cpp
parentd57ddaefd37e6a19d3a6937fbf9a655dbafcdba5 (diff)
Add override in vespalib module
Diffstat (limited to 'vespalib/src/tests/stringfmt/fmt.cpp')
-rw-r--r--vespalib/src/tests/stringfmt/fmt.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/vespalib/src/tests/stringfmt/fmt.cpp b/vespalib/src/tests/stringfmt/fmt.cpp
index d5d6cef3854..af8f5437beb 100644
--- a/vespalib/src/tests/stringfmt/fmt.cpp
+++ b/vespalib/src/tests/stringfmt/fmt.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("stringfmt_test");
+
#include <vespa/vespalib/util/stringfmt.h>
#include <vespa/vespalib/util/vstringfmt.h>
#include <vespa/vespalib/testkit/testapp.h>
@@ -13,27 +11,14 @@ class Test : public vespalib::TestApp
{
public:
void testSimple();
- int Main();
+ int Main() override;
};
-/*
-static bool eq(const std::string& a, const std::string& b)
-{
- if (a == b) {
- return true;
- } else {
- LOG(warning, "a(%s) != b(%s)", a.c_str(), b.c_str());
- return false;
- }
-}
-*/
-
static bool eq(const vespalib::string& a, const vespalib::string& b)
{
if (a == b) {
return true;
} else {
- LOG(warning, "a(%s) != b(%s)", a.c_str(), b.c_str());
return false;
}
}