Opened 13 years ago
Closed 13 years ago
#3891 closed Bugs (fixed)
Serialization example (demo.cpp) contains an error
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | Boost 1.42.0 | Component: | serialization |
Version: | Boost 1.41.0 | Severity: | Problem |
Keywords: | Cc: |
Description
This is a versioning bug. The code contains the following line:
BOOST_CLASS_VERSION(bus_schedule, 2) which means the driver name is not deserialized into trip_info within the bus_schedule.
this should be changed to:
BOOST_CLASS_VERSION(bus_schedule::trip_info, 2)
Note:
See TracTickets
for help on using tickets.