From 6f6993255a6486236b6b16696b9e365389f159b9 Mon Sep 17 00:00:00 2001 From: Koncord Date: Fri, 4 Nov 2016 00:23:23 +0800 Subject: [PATCH] Fix string in breakpad() --- apps/openmw-mp/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw-mp/main.cpp b/apps/openmw-mp/main.cpp index 0cbbddae6..ddf91d68a 100644 --- a/apps/openmw-mp/main.cpp +++ b/apps/openmw-mp/main.cpp @@ -71,7 +71,7 @@ void breakpad(std::string pathToDump) /*FilterCallback*/ 0, DumpCallback, /*context*/ - 0, + google_breakpad::ExceptionHandler::HANDLER_ALL, true ); #else @@ -151,7 +151,7 @@ int main(int argc, char *argv[]) Settings::Manager mgr; Files::ConfigurationManager cfgMgr; - breakpad(boost::filesystem::path(cfgMgr.getLogPath()).c_str()); + breakpad(boost::filesystem::path(cfgMgr.getLogPath()).string()); loadSettings(mgr);