diff --git a/src/main.cpp b/src/main.cpp index 81d2524..736ea56 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -129,7 +129,7 @@ int main(int argc, char *argv[]) << format(translate("Could not open {0:s}: {1:s}") .str() .c_str(), - e.path1(), e.what()); + e.path1().c_str(), e.what()); return_code = EXIT_FAILURE; } }