aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/flushengine
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-06 10:49:25 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-06 20:02:57 +0000
commit0c29b447a3f9d4464bb3e3d4a40a829216b607b9 (patch)
tree80875cb10fdd2c81b5a38aa1304ae683e48abe97 /searchcore/src/tests/proton/flushengine
parentffa8a528c6df7356c681a3f12d77ef89aa56e05f (diff)
Remove unused parameters
Diffstat (limited to 'searchcore/src/tests/proton/flushengine')
-rw-r--r--searchcore/src/tests/proton/flushengine/flushengine.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/searchcore/src/tests/proton/flushengine/flushengine.cpp b/searchcore/src/tests/proton/flushengine/flushengine.cpp
index 681501c9796..7de03c665a7 100644
--- a/searchcore/src/tests/proton/flushengine/flushengine.cpp
+++ b/searchcore/src/tests/proton/flushengine/flushengine.cpp
@@ -1,7 +1,4 @@
// 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("flushengine_test");
#include <vespa/searchcore/proton/flushengine/cachedflushtarget.h>
#include <vespa/searchcore/proton/flushengine/flush_engine_explorer.h>
@@ -16,7 +13,9 @@ LOG_SETUP("flushengine_test");
#include <vespa/vespalib/data/slime/slime.h>
#include <vespa/vespalib/util/sync.h>
#include <vespa/vespalib/test/insertion_operators.h>
-#include <memory>
+
+#include <vespa/log/log.h>
+LOG_SETUP("flushengine_test");
// --------------------------------------------------------------------------------
//
@@ -263,7 +262,7 @@ public:
{
}
- SimpleTarget(const std::string &name = "anon", search::SerialNum flushedSerial = 0, bool proceedImmediately = true) :
+ SimpleTarget(const std::string &name, search::SerialNum flushedSerial = 0, bool proceedImmediately = true) :
test::DummyFlushTarget(name),
_flushedSerial(flushedSerial),
_proceed(),
@@ -277,6 +276,9 @@ public:
_proceed.countDown();
}
}
+ SimpleTarget(search::SerialNum flushedSerial = 0, bool proceedImmediately = true)
+ : SimpleTarget("anon", flushedSerial, proceedImmediately)
+ { }
virtual Time
getLastFlushTime() const override { return fastos::ClockSystem::now(); }
@@ -309,12 +311,11 @@ public:
public:
typedef std::shared_ptr<AssertedTarget> SP;
- AssertedTarget(const std::string &name = "anon")
- : SimpleTarget(name),
+ AssertedTarget()
+ : SimpleTarget("anon"),
_mgain(false),
_serial(false)
{
- // empty
}
virtual MemoryGain