fix: linux compile.

This commit is contained in:
2025-07-04 21:44:52 +08:00
parent 5cb93675bd
commit c37df2f4bc
5 changed files with 10 additions and 10 deletions

View File

@@ -48,7 +48,7 @@ void UseExceptionHandler(EXCEPTION_POINTERS* exception);
#elif defined(LINUX_OS)
#define CRASHELPER_MARK_ENTRY() \
backward::SignalHandling sh; \
sh.register_crash_path([]() -> QString { return backward::GetCurFullLogPath(); })
sh.register_crash_path([]() -> std::string { return backward::GetCurFullLogPath(); })
#endif
#endif // CRASHELPER_H