Skip to content

Commit 6295f0f

Browse files
committed
Added correct exception includes
1 parent b547eb8 commit 6295f0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/callstack.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727

2828
#include "callstack_create.h"
2929

30+
#if __cplusplus >= 201103
31+
#include <system_error>
32+
#else
33+
#include <stdexcept>
34+
#endif
35+
3036
/**
3137
* This namespace contains a wrapper class for the struct callstack.
3238
* It is needed to avoid name conflicts between the struct and the wrapper class.

0 commit comments

Comments
 (0)