Skip to content

Commit 8ab3ec4

Browse files
committed
Add a note in the source code about missing changeset id in CRC
1 parent d9264f5 commit 8ab3ec4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/osmium/osm/crc.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ namespace osmium {
198198
}
199199
}
200200

201+
// XXX Changeset id is not added to the CRC. This is an oversight,
202+
// but we don't want to change this now to keep compatibility.
201203
void update(const osmium::OSMObject& object) noexcept {
202204
update_int64(static_cast<uint64_t>(object.id()));
203205
update_bool(object.visible());

0 commit comments

Comments
 (0)