Opened 13 years ago

Closed 13 years ago

#3891 closed Bugs (fixed)

Serialization example (demo.cpp) contains an error

Reported by: JohnWmAustin@… 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)

Change History (1)

comment:1 by Robert Ramey, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.