Commit eb840b27 authored by Kevin Funk's avatar Kevin Funk

clang: fix test bench_codecompletion compilation

Summary:
Fix compilation error:
error: no matching function for call to ‘BenchCodeCompletion::createView(QUrl, BenchCodeCompletion*)

createView has been modified here: {R32:6dca2d31}

Test Plan:
launch
```
kdesrc-build kdevelop
```

Reviewers: mwolff

Reviewed By: mwolff

Subscribers: mwolff, kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D21458
parent a9737d18
Pipeline #3868 failed with stage
in 60 minutes
......@@ -85,7 +85,7 @@ void BenchCodeCompletion::benchCodeCompletion()
TestFile file(code, "cpp");
QVERIFY(file.parseAndWait(TopDUContext::AllDeclarationsContextsUsesAndAST, 1, 5000));
auto view = createView(file.url().toUrl(), this);
auto view = createView(file.url().toUrl());
QSignalSpy spy(m_model, &QAbstractItemModel::modelReset);
QBENCHMARK {
......
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