Try to fix test and build workflows
This commit is contained in:
parent
dd928b249b
commit
f69448f781
@ -14,7 +14,7 @@ namespace cpptrace {
|
||||
namespace detail {
|
||||
CPPTRACE_FORCE_NO_INLINE
|
||||
std::vector<uintptr_t> capture_frames(size_t skip, size_t max_depth) {
|
||||
skip += 2; // TODO: Not sure where the other 1 comes from
|
||||
skip++;
|
||||
std::vector<void*> addrs(std::min(hard_max_frames, skip + max_depth), nullptr);
|
||||
const int n_frames = backtrace(addrs.data(), static_cast<int>(addrs.size())); // thread safe
|
||||
std::vector<uintptr_t> frames(n_frames - skip, 0);
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
namespace cpptrace {
|
||||
namespace detail {
|
||||
std::vector<uintptr_t> capture_frames(size_t skip, size_t max_depth) {
|
||||
std::vector<uintptr_t> capture_frames(size_t, size_t) {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user