qmake: Use braces for struct initialization in MSVC object model

Detected by clang

Change-Id: I4c5fbdb402f55ce40e84a6a40ead6c32a60cfa22
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Orgad Shaneh 2017-06-08 11:30:10 +03:00 committed by Orgad Shaneh
parent d71761ec1f
commit 67f9a8c57b

View File

@ -47,15 +47,15 @@ static DotNET vsVersionFromString(const char *versionString)
DotNET version; DotNET version;
}; };
static VSVersionMapping mapping[] = { static VSVersionMapping mapping[] = {
"7.0", NET2002, { "7.0", NET2002 },
"7.1", NET2003, { "7.1", NET2003 },
"8.0", NET2005, { "8.0", NET2005 },
"9.0", NET2008, { "9.0", NET2008 },
"10.0", NET2010, { "10.0", NET2010 },
"11.0", NET2012, { "11.0", NET2012 },
"12.0", NET2013, { "12.0", NET2013 },
"14.0", NET2015, { "14.0", NET2015 },
"15.0", NET2017 { "15.0", NET2017 }
}; };
DotNET result = NETUnknown; DotNET result = NETUnknown;
for (const auto entry : mapping) { for (const auto entry : mapping) {