From bfc0225cda130178efee9510dccea5a2265b5377 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 24 Mar 2005 21:55:24 +0000 Subject: [PATCH] Switched to atomic_count [SVN r27811] --- test/intrusive_ptr_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/intrusive_ptr_test.cpp b/test/intrusive_ptr_test.cpp index 51429ae..614a9cb 100644 --- a/test/intrusive_ptr_test.cpp +++ b/test/intrusive_ptr_test.cpp @@ -19,7 +19,7 @@ // // intrusive_ptr_test.cpp // -// Copyright (c) 2002, 2003 Peter Dimov +// Copyright (c) 2002-2005 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at @@ -28,6 +28,7 @@ #include #include +#include #include #include #include @@ -41,7 +42,7 @@ class base { private: - long use_count_; + boost::detail::atomic_count use_count_; base(base const &); base & operator=(base const &);