forked from qt-creator/qt-creator
runAsync: Remove ResultType template parameter.
It is now deduced from either the type of the QFutureInterface<ResultType> function argument, or the return type. Change-Id: Iddab3cc329206c649a6e55a44b2de2d406701dee Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -545,8 +545,8 @@ void SemanticHighlighter::rerun(const QmlJSTools::SemanticInfo &semanticInfo)
|
||||
m_watcher.cancel();
|
||||
|
||||
m_startRevision = m_document->document()->revision();
|
||||
m_watcher.setFuture(Utils::runAsync<Use>(QThread::LowestPriority,
|
||||
&SemanticHighlighter::run, this, semanticInfo));
|
||||
m_watcher.setFuture(Utils::runAsync(QThread::LowestPriority,
|
||||
&SemanticHighlighter::run, this, semanticInfo));
|
||||
}
|
||||
|
||||
void SemanticHighlighter::cancel()
|
||||
|
||||
Reference in New Issue
Block a user