forked from OSchip/llvm-project
[libc++] Fix test failures in C++14 mode
This commit is contained in:
parent
6709150944
commit
305b500eaf
|
@ -38,7 +38,7 @@ ms ShortTime = ms(50);
|
|||
|
||||
static const unsigned Threads = 5;
|
||||
|
||||
std::atomic<unsigned> CountDown = Threads;
|
||||
std::atomic<unsigned> CountDown(Threads);
|
||||
|
||||
void f1()
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@ ms ShortTime = ms(50);
|
|||
|
||||
static constexpr unsigned Threads = 5;
|
||||
|
||||
std::atomic<unsigned> CountDown = Threads;
|
||||
std::atomic<unsigned> CountDown(Threads);
|
||||
|
||||
void f1()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue