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 <tobias.hunger@digia.com>
This commit is contained in:
Oswald Buddenhagen
2014-06-20 11:47:19 +02:00
parent 473ed1c1aa
commit 11161bbfad
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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)