mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Misc clang warning fixes
This commit is contained in:
2
src/blackmisc/thirdparty/simplecrypt.h
vendored
2
src/blackmisc/thirdparty/simplecrypt.h
vendored
@@ -214,7 +214,7 @@ namespace BlackMisc
|
||||
CryptoFlagChecksum = 0x02, //!< Checksum
|
||||
CryptoFlagHash = 0x04 //!< Hash
|
||||
};
|
||||
Q_DECLARE_FLAGS(CryptoFlags, CryptoFlag); //!< For future usage
|
||||
Q_DECLARE_FLAGS(CryptoFlags, CryptoFlag) //!< For future usage
|
||||
|
||||
private:
|
||||
//! Split key
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace BlackMisc
|
||||
};
|
||||
|
||||
QString weatherPhenomenaAsString;
|
||||
for (const auto &wp : makeKeysRange(weatherPhenomenaHash))
|
||||
for (const WeatherPhenomenon &wp : makeKeysRange(weatherPhenomenaHash))
|
||||
{
|
||||
if (m_weatherPhenomena & wp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user