Commit d7559868 authored by Marco Bubke's avatar Marco Bubke

Clang: Cleanup ClangQueryProjectFindFilter test

Change-Id: I8e9246490c8501c71a5f0cc10aa45a0914fdda62
Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent cf4b2aec
......@@ -223,7 +223,7 @@ void ClangQueryProjectFindFilter::SetUp()
std::unique_ptr<ClangRefactoring::SearchHandle> ClangQueryProjectFindFilter::createSearchHandle()
{
std::unique_ptr<ClangRefactoring::SearchHandle> handle(new NiceMock<MockSearchHandle>);
auto handle = std::make_unique<NiceMock<MockSearchHandle>>();
handle->setRefactoringServer(&mockRefactoringServer);
return handle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment