mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 23:56:06 +00:00
[libc++] Remove conditional include
This commit is contained in:
parent
6e12711081
commit
8383351d45
@ -51,9 +51,7 @@ namespace std
|
||||
#include <__thread/timed_backoff_policy.h>
|
||||
#include <atomic>
|
||||
#include <limits>
|
||||
#ifndef _LIBCPP_HAS_NO_TREE_BARRIER
|
||||
# include <memory>
|
||||
#endif
|
||||
#include <memory>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
@ -280,7 +278,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#endif //_LIBCPP_HAS_NO_TREE_BARRIER
|
||||
#endif // !_LIBCPP_HAS_NO_TREE_BARRIER
|
||||
|
||||
template<class _CompletionF = __empty_completion>
|
||||
class barrier {
|
||||
|
@ -90,7 +90,7 @@ void __destroy_barrier_algorithm_base(__barrier_algorithm_base* __barrier)
|
||||
delete __barrier;
|
||||
}
|
||||
|
||||
#endif //!defined(_LIBCPP_HAS_NO_TREE_BARRIER)
|
||||
#endif // !defined(_LIBCPP_HAS_NO_TREE_BARRIER)
|
||||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user