27 Apr
2007
27 Apr
'07
3:02 p.m.
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