feat:replace boost library with C++11 std library
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include <apr_general.h>
|
||||
#include <apr_thread_proc.h>
|
||||
#include <apr_portable.h>
|
||||
#include <boost/atomic/atomic.hpp>
|
||||
#include <atomic>
|
||||
#include "noncopyable.h"
|
||||
|
||||
namespace livox {
|
||||
@@ -46,7 +46,7 @@ class ThreadBase : public noncopyable {
|
||||
|
||||
protected:
|
||||
apr_thread_t *thread_;
|
||||
boost::atomic_bool quit_;
|
||||
std::atomic_bool quit_;
|
||||
apr_pool_t *pool_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user