Use TPMS declared invalid_key as default initializer values.

This commit is contained in:
Jared Boone 2016-01-23 21:52:42 -08:00
parent fedecbeca5
commit 56218565c1

View File

@ -157,8 +157,8 @@ struct TPMSRecentEntry {
static const Key invalid_key; static const Key invalid_key;
tpms::Reading::Type type { tpms::Reading::Type::None }; tpms::Reading::Type type { invalid_key.first };
tpms::TransponderID id { 0 }; tpms::TransponderID id { invalid_key.second };
size_t received_count { 0 }; size_t received_count { 0 };