diff options
author | Alan Griffiths <alan@octopull.co.uk> | 2014-11-28 16:26:33 +0000 |
---|---|---|
committer | Alan Griffiths <alan@octopull.co.uk> | 2014-11-28 16:26:33 +0000 |
commit | 3bc65543d24dcebe003be04c5b82f0af6dae2abb (patch) | |
tree | e3163a5eac5e1f9d021c10564ca63cfe87e91a40 /tests/modules/common/qtmir_test.h | |
parent | 1a90b3c78fa5f2ceb608af4d55ca8c5e508191c2 (diff) |
Quick spike to test API
Diffstat (limited to 'tests/modules/common/qtmir_test.h')
-rw-r--r-- | tests/modules/common/qtmir_test.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/modules/common/qtmir_test.h b/tests/modules/common/qtmir_test.h index d6ecaca..52b05b1 100644 --- a/tests/modules/common/qtmir_test.h +++ b/tests/modules/common/qtmir_test.h @@ -49,12 +49,7 @@ public: : MirServerConfiguration(0, nullptr) , mock_prompt_session_manager(std::make_shared<StubPromptSessionManager>()) { - } - - std::shared_ptr<ms::PromptSessionManager> the_prompt_session_manager() override - { - return prompt_session_manager([this]() - ->std::shared_ptr<ms::PromptSessionManager> + override_the_prompt_session_manager([this] { return the_mock_prompt_session_manager(); }); |