$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Mikko Vainio (mikko.vainio_at_[hidden])
Date: 2007-04-27 11:02:29
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