|
Boost : |
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-03-20 11:29:34
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 20 March 2008 11:11 am, Frank Mori Hess wrote:
>
> Attached is a test for the new functionality.
And here's a one-line patch to fix a bug I just noticed in the new test.
- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH4oLj5vihyNWuA4URAs0zAKDBiGtZ89fa/5zlLm+P464knabgCwCfYGc4
RarFAFIhcKAOfykK0Mwp+jo=
=E6IO
-----END PGP SIGNATURE-----
--Boundary-00=_jLo4Hfa+dkOuOud
Content-Type: text/x-diff; charset="utf-8"; name="esft_constructor_test.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="esft_constructor_test.patch"
--- esft_constructor_test_old.cpp 2008-03-20 11:26:59.000000000 -0400
+++ esft_constructor_test.cpp 2008-03-20 11:25:53.000000000 -0400
@@ -122,7 +122,7 @@
{
boost::shared_ptr<X> early_px;
X x( 0, &early_px );
- boost::weak_ptr<X> early_weak_px = early_px;
+ early_weak_px = early_px;
early_px.reset();
BOOST_TEST( early_weak_px.expired() == false );
BOOST_TEST( X::instances == 1 );
--Boundary-00=_jLo4Hfa+dkOuOud--
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk