Skip to content

Commit 0e51d02

Browse files
committed
Include <new> for std::bad_alloc
Without it compilation failed on OS X using Apple LLVM version 7.3.0 (clang-703.0.29)
1 parent 175a0cd commit 0e51d02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readerwriterqueue.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <utility>
1010
#include <cassert>
1111
#include <stdexcept>
12+
#include <new>
1213
#include <cstdint>
1314
#include <cstdlib> // For malloc/free/abort & size_t
1415
#if __cplusplus > 199711L

0 commit comments

Comments
 (0)