diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-09 00:46:01 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-09 00:46:01 +0100 |
commit | 2a9f79e9b95bd0863a59172ee61ec274d5b9f817 (patch) | |
tree | 1c63b1306d5c9bdd076d578f2a9d45f183f7386a /searchcore/src/tests/proton/initializer | |
parent | 94eea5f229b0a4034676002a423b226185a10820 (diff) |
deiniline destructors
Diffstat (limited to 'searchcore/src/tests/proton/initializer')
-rw-r--r-- | searchcore/src/tests/proton/initializer/task_runner_test.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/searchcore/src/tests/proton/initializer/task_runner_test.cpp b/searchcore/src/tests/proton/initializer/task_runner_test.cpp index afa807fd0e6..ef18130c1a8 100644 --- a/searchcore/src/tests/proton/initializer/task_runner_test.cpp +++ b/searchcore/src/tests/proton/initializer/task_runner_test.cpp @@ -52,11 +52,9 @@ struct TestJob { TestLog::UP _log; InitializerTask::SP _root; - TestJob(TestLog::UP log, InitializerTask::SP root) - : _log(std::move(log)), - _root(std::move(root)) - { - } + TestJob(TestLog::UP log, InitializerTask::SP root); + TestJob(TestJob &&) = default; + ~TestJob(); static TestJob setupCDependsOnAandB() { @@ -84,6 +82,12 @@ struct TestJob { } }; +TestJob::TestJob(TestLog::UP log, InitializerTask::SP root) + : _log(std::move(log)), + _root(std::move(root)) +{ } +TestJob::~TestJob() {} + struct Fixture { |