Boost C++ Libraries: Ticket #7352: warning cause by choice between operator https://svn.boost.org/trac10/ticket/7352 <p> collections_load_imp.hpp:158: warning: choosing boost::serialization::item_version_type::operator unsigned int&amp;() over boost::serialization::item_version_type::operator unsigned int() const </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7352 Trac 1.4.3 hardik <hardik.soni@…> Mon, 10 Sep 2012 08:29:25 GMT <link>https://svn.boost.org/trac10/ticket/7352#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7352#comment:1</guid> <description> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7352" title="#7352: Support Requests: warning cause by choice between operator (closed: invalid)">anonymous</a>: </p> <blockquote class="citation"> <p> collections_load_imp.hpp:158: warning: choosing boost::serialization::item_version_type::operator unsigned int&amp;() over boost::serialization::item_version_type::operator unsigned int() const </p> </blockquote> <p> 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 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Mon, 10 Sep 2012 15:56:10 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7352#comment:2 https://svn.boost.org/trac10/ticket/7352#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> Ticket