diff options
-rw-r--r-- | clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp b/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp index 05ce0fb8fe4..631a53ebb0e 100644 --- a/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp +++ b/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp @@ -35,10 +35,10 @@ class QueryEngineTest : public ::testing::Test { protected: QueryEngineTest() - : S(mkASTUnit2(std::unique_ptr<ASTUnit>(buildASTFromCode( - "void foo1(void) {}\nvoid foo2(void) {}", "foo.cc")), - std::unique_ptr<ASTUnit>(buildASTFromCode( - "void bar1(void) {}\nvoid bar2(void) {}", "bar.cc")))), + : S(mkASTUnit2(buildASTFromCode("void foo1(void) {}\nvoid foo2(void) {}", + "foo.cc"), + buildASTFromCode("void bar1(void) {}\nvoid bar2(void) {}", + "bar.cc"))), OS(Str) {} std::unique_ptr<ASTUnit> ASTs[2]; |