Skip to content

Commit a1a686a

Browse files
committed
fix ‘runtime_error’ is not a member of ‘std’ build error
On Ubuntu 23.10 build was failing with: ``` support/lockedpool.cpp: In member function ‘void Arena::free(void*)’: support/lockedpool.cpp:99:20: error: ‘runtime_error’ is not a member of ‘std’ 99 | throw std::runtime_error("Arena: invalid or double free"); ```
1 parent b2f3d4d commit a1a686a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

support/lockedpool.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#endif
2020

2121
#include <algorithm>
22+
#include <stdexcept>
2223
#ifdef ARENA_DEBUG
2324
#include <iomanip>
2425
#include <iostream>

0 commit comments

Comments
 (0)