Opened 10 years ago

Closed 10 years ago

#7352 closed Support Requests (invalid)

warning cause by choice between operator

Reported by: anonymous Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.52.0 Severity: Cosmetic
Keywords: Cc:

Description

collections_load_imp.hpp:158: warning: choosing boost::serialization::item_version_type::operator unsigned int&() over boost::serialization::item_version_type::operator unsigned int() const

Change History (2)

in reply to:  description comment:1 by hardik <hardik.soni@…>, 10 years ago

Replying to anonymous:

collections_load_imp.hpp:158: warning: choosing boost::serialization::item_version_type::operator unsigned int&() over boost::serialization::item_version_type::operator unsigned int() const

please, close this ticket. warnings generated due to parameter was passed by reference, where it should have been passed by copy to serialize template function

comment:2 by Robert Ramey, 10 years ago

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