forked from qt-creator/qt-creator
Android: Avoid some cast for tool chains
targetAbi() is available in the base and non-virtual. Change-Id: I1c65dccec98b7df5211b2ecfa1e91a4bb4b6e98f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -1131,9 +1131,7 @@ static bool matchToolChain(const ToolChain *atc, const ToolChain *btc)
|
||||
if (atc->typeId() != Constants::ANDROID_TOOLCHAIN_TYPEID || btc->typeId() != Constants::ANDROID_TOOLCHAIN_TYPEID)
|
||||
return false;
|
||||
|
||||
auto aatc = static_cast<const AndroidToolChain *>(atc);
|
||||
auto abtc = static_cast<const AndroidToolChain *>(btc);
|
||||
return aatc->targetAbi() == abtc->targetAbi();
|
||||
return atc->targetAbi() == btc->targetAbi();
|
||||
}
|
||||
|
||||
void AndroidConfigurations::registerNewToolChains()
|
||||
|
Reference in New Issue
Block a user