sys: Fixed more build issues

This commit is contained in:
WerWolv
2023-03-13 09:25:07 +01:00
parent 55f9faea10
commit 00a5fd2d7c
5 changed files with 16 additions and 23 deletions

View File

@@ -140,7 +140,7 @@
void initialize() {
if (auto executablePath = fs::getExecutablePath(); executablePath.has_value()) {
if (auto executablePath = wolv::io::fs::getExecutablePath(); executablePath.has_value()) {
static std::string path = executablePath->string();
s_backtraceState = backtrace_create_state(path.c_str(), 1, [](void *, const char *msg, int) { log::error("{}", msg); }, nullptr);
}