We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a82116 commit 6fb71d9Copy full SHA for 6fb71d9
emmy_debugger/include/emmy_debugger/arena/arena.h
@@ -3,6 +3,7 @@
3
#include <cinttypes>
4
#include <vector>
5
#include <exception>
6
+#include <stdexcept>
7
8
template<class T>
9
class Arena;
@@ -48,7 +49,7 @@ class Arena {
48
49
if (id.Raw < _data.size()) {
50
return _data[id.Raw];
51
}
- throw std::exception("index out of range");
52
+ throw std::runtime_error("index out of range");
53
54
55
Idx<T> Alloc() {
0 commit comments