Skip to content

Commit f2c0c6f

Browse files
authored
Merge pull request #33 from sommern/master
Include <new> for std::bad_alloc
2 parents 175a0cd + 0e51d02 commit f2c0c6f

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)