path: root/qmake/project.cpp
diff options
authorOswald Buddenhagen <>2014-06-16 14:31:30 +0200
committerOswald Buddenhagen <>2014-06-20 11:47:19 +0200
commit11161bbfadd0056466fc414ed659d08a4a0fe492 (patch)
treecdef2c516bcf1877413c9b36f473ad29a76cdc61 /qmake/project.cpp
parent473ed1c1aa67ceb345b20d13c408ed8bd65a9e41 (diff)
pass a pointer instead of a reference to initFrom()
msvc thinks that it's impossible to create a null reference (because some language lawyer said so) and thus complains about our assert that checks the reference's validity. work around by not dereferencing the pointers we already have. Change-Id: Ife2288d4187860105de12fdebc0e671e0159ace3 Reviewed-by: Tobias Hunger <>
Diffstat (limited to 'qmake/project.cpp')
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 9f75d1da27..f3d22dfb2c 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -60,7 +60,7 @@ QMakeProject::QMakeProject()
QMakeProject::QMakeProject(QMakeProject *p)
: QMakeEvaluator(Option::globals, Option::parser, Option::vfs, &Option::evalHandler)
- initFrom(*p);
+ initFrom(p);
bool QMakeProject::boolRet(VisitReturn vr)