Skip to content

Commit e959933

Browse files
committed
Avoid includeing deprecated atomic_count.hpp header.
boost/detail/atomic_count.hpp was moved into boost/smart_ptr/detail and is now deprecated and emits warnings.
1 parent ece51fe commit e959933

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/copy_exception_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <boost/exception_ptr.hpp>
1313
#include <boost/exception/get_error_info.hpp>
1414
#include <boost/thread.hpp>
15-
#include <boost/detail/atomic_count.hpp>
15+
#include <boost/smart_ptr/detail/atomic_count.hpp>
1616
#include <boost/detail/lightweight_test.hpp>
1717

1818
typedef boost::error_info<struct tag_answer,int> answer;

test/exception_ptr_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <boost/function.hpp>
1717
#include <boost/bind.hpp>
1818
#include <boost/thread.hpp>
19-
#include <boost/detail/atomic_count.hpp>
19+
#include <boost/smart_ptr/detail/atomic_count.hpp>
2020
#include <boost/detail/lightweight_test.hpp>
2121
#include <iostream>
2222

0 commit comments

Comments
 (0)