test(stacktrace): make CPPTRACE_FORCE_INLINE static
This fixes compilation error: > error: inlining failed in call to 'always_inline' 'int stacktrace_inline_resolution_2(std::vector<int>&)': function body can be overwritten at link time
This commit is contained in:
parent
5b3f2fb0b1
commit
6919d1e948
@ -11,7 +11,7 @@ using namespace std::literals;
|
||||
#ifdef _MSC_VER
|
||||
#define CPPTRACE_FORCE_INLINE [[msvc::flatten]]
|
||||
#else
|
||||
#define CPPTRACE_FORCE_INLINE [[gnu::always_inline]]
|
||||
#define CPPTRACE_FORCE_INLINE [[gnu::always_inline]] static
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user