
10 May
2007
10 May
'07
10 a.m.
Is it too late to get this fixed before 1.34.0 ships? /Mikko Mikko Vainio wrote:
Could someone fix line 31 in serialization/weak_ptr.hpp to say const boost::shared_ptr<T> sp = t.lock(); as it does in the HEAD version.
The line is now const boost::shared_ptr<T> sp(t); which will cause assertion failure with empty weak_ptr. Being empty is a perfectly valid state for a weak_ptr, and should be serializable.
Cheers, Mikko