$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Mikko Vainio (mikko.vainio_at_[hidden])
Date: 2007-05-10 06:00:57
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