forked from qt-creator/qt-creator
Utils: Remove function wrapper
This was an intentional, time-limited workaround that has served its purpose now that we require C++11. Change-Id: I96ece9c21bd405d281fd381bd9b87edc00c5ee84 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include "qmljstypedescriptionreader.h"
|
||||
|
||||
#include <cplusplus/cppmodelmanagerbase.h>
|
||||
#include <utils/function.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
#include <utils/runextensions.h>
|
||||
|
||||
@@ -815,7 +814,7 @@ void ModelManagerInterface::parseLoop(QSet<QString> &scannedPaths,
|
||||
ModelManagerInterface *modelManager,
|
||||
Language::Enum mainLanguage,
|
||||
bool emitDocChangedOnDisk,
|
||||
Utils::function<bool(qreal)> reportProgress)
|
||||
std::function<bool(qreal)> reportProgress)
|
||||
{
|
||||
for (int i = 0; i < files.size(); ++i) {
|
||||
if (!reportProgress(qreal(i) / files.size()))
|
||||
|
||||
Reference in New Issue
Block a user