AddressTableObject::contains minimal improve

This commit is contained in:
Waldemar Porscha 2022-10-17 09:41:08 +02:00
parent 3a85f69975
commit 48b92797ac

View File

@ -77,8 +77,7 @@ const uint8_t* AddressTableObject::restore(const uint8_t* buffer)
bool AddressTableObject::contains(uint16_t addr)
{
uint16_t foundTsap = getTsap(addr);
return (foundTsap > 0);
return (getTsap(addr) > 0);
}
void AddressTableObject::beforeStateChange(LoadState& newState)