forked from qt-creator/qt-creator
McuSupport: Fix compile
Amends 5be5f7a331
.
Change-Id: I3261c68aae0521dca38679e54e7775184ea623ff
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -61,7 +61,7 @@ const static QMap<QString, McuToolChainPackage::ToolChainType> toolchainTypeMapp
|
|||||||
|
|
||||||
McuPackageVersionDetector *createVersionDetection(const VersionDetection &versionDetection)
|
McuPackageVersionDetector *createVersionDetection(const VersionDetection &versionDetection)
|
||||||
{
|
{
|
||||||
if (!versionDetection.xmlElement.isEmpty() and !versionDetection.xmlAttribute.isEmpty())
|
if (!versionDetection.xmlElement.isEmpty() && !versionDetection.xmlAttribute.isEmpty())
|
||||||
return new McuPackageXmlVersionDetector{versionDetection.filePattern,
|
return new McuPackageXmlVersionDetector{versionDetection.filePattern,
|
||||||
versionDetection.xmlElement,
|
versionDetection.xmlElement,
|
||||||
versionDetection.xmlAttribute,
|
versionDetection.xmlAttribute,
|
||||||
|
Reference in New Issue
Block a user