aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlobjectcreator.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-07-28 10:21:06 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-07-28 15:09:43 +0000
commit91deafdcc8e4b743e2d27a1793a2b1b2ba506cd7 (patch)
treefb1409be1deec84adb6dee9ac66e4b616e9530b6 /src/qml/qml/qqmlobjectcreator.cpp
parenta7c7b26653c76e6c699a7f4e81f7ffec60dde0be (diff)
Remove some unused members on -no-qml-debug
It's debatable if the uglification is worth the overhead of a few pointers. Change-Id: I63b55b2043b8752a94d4b862c3892915135a72b7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator.cpp')
-rw-r--r--src/qml/qml/qqmlobjectcreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator.cpp b/src/qml/qml/qqmlobjectcreator.cpp
index 4e98e04ce4..a38d18acfb 100644
--- a/src/qml/qml/qqmlobjectcreator.cpp
+++ b/src/qml/qml/qqmlobjectcreator.cpp
@@ -89,7 +89,7 @@ QQmlObjectCreator::QQmlObjectCreator(QQmlContextData *parentContext, QV4::Compil
sharedState->creationContext = creationContext;
sharedState->rootContext = 0;
- if (QQmlProfiler *profiler = QQmlEnginePrivate::get(engine)->profiler) {
+ if (auto profiler = QQmlEnginePrivate::get(engine)->profiler) {
Q_QML_PROFILE_IF_ENABLED(QQmlProfilerDefinitions::ProfileCreating, profiler,
sharedState->profiler.init(profiler, compilationUnit->totalParserStatusCount));
} else {