Enable readability-qualified-auto check (#3095)

This commit is contained in:
Oxan van Leeuwen
2022-01-23 08:29:58 +01:00
committed by GitHub
parent 7854522792
commit a31700e16f
34 changed files with 59 additions and 58 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ bool E131Component::packet_(const std::vector<uint8_t> &data, int &universe, E13
if (data.size() < E131_MIN_PACKET_SIZE)
return false;
auto sbuff = reinterpret_cast<const E131RawPacket *>(&data[0]);
auto *sbuff = reinterpret_cast<const E131RawPacket *>(&data[0]);
if (memcmp(sbuff->acn_id, ACN_ID, sizeof(sbuff->acn_id)) != 0)
return false;