Quick fix

This commit is contained in:
Jeremy 2024-05-22 23:35:34 -05:00
parent 6b52b5cd3d
commit 0a593e1449
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -49,7 +49,7 @@ namespace detail {
static bool valid = false;
if(!did_init) {
did_init = true;
std::uint32_t bufferSize = CPPTRACE_PATH_MAX + 1;
constexpr std::uint32_t bufferSize = CPPTRACE_PATH_MAX + 1;
char buffer[bufferSize];
if(_NSGetExecutablePath(buffer, &bufferSize) == 0) {
name.assign(buffer, bufferSize);