Codechange: replace BSWAP32/BSWAP16 with std::byteswap
This commit is contained in:
@@ -91,7 +91,7 @@ void AddChangedPersistentStorage(BasePersistentStorageArray *storage)
|
||||
|
||||
/* Discard all temporary changes */
|
||||
for (auto &it : *_changed_storage_arrays) {
|
||||
Debug(desync, 2, "warning: discarding persistent storage changes: Feature {}, GrfID {:08X}, Tile {}", it->feature, BSWAP32(it->grfid), it->tile);
|
||||
Debug(desync, 2, "warning: discarding persistent storage changes: Feature {}, GrfID {:08X}, Tile {}", it->feature, std::byteswap(it->grfid), it->tile);
|
||||
it->ClearChanges();
|
||||
}
|
||||
_changed_storage_arrays->clear();
|
||||
|
||||
Reference in New Issue
Block a user