forked from qt-creator/qt-creator
Android: Modernize
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using modernize-use-equals-default modernize-use-transparent-functors Change-Id: I6c9e567edf16cf436c0e0c1239b40f74574a1096 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
committed by
Vikas Pachdha
parent
02a759d4f5
commit
be5c228e5b
@@ -164,7 +164,7 @@ bool SdkPlatform::operator <(const AndroidSdkPackage &other) const
|
||||
if (typeid(*this) != typeid(other))
|
||||
return AndroidSdkPackage::operator <(other);
|
||||
|
||||
const SdkPlatform &platform = static_cast<const SdkPlatform &>(other);
|
||||
const auto &platform = static_cast<const SdkPlatform &>(other);
|
||||
if (platform.m_apiLevel == m_apiLevel)
|
||||
return AndroidSdkPackage::operator <(other);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user