From 82c7ae6317d9013a3735cfe56b45d93a1d3bdd62 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Sat, 25 Jun 2016 15:00:35 +0200 Subject: [PATCH] convert the path to std::string before using it to prevent a compiler error --- src/Main/options.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 2b73c5122..97f4c4883 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -2621,7 +2621,7 @@ void Options::setupRoot(int argc, char **argv) flightgear::fatalMessageBox("Base package version mismatch", "Version check failed: please check your installation.", "Found data files for version '" + base_version + - "' at '" + globals->get_fg_root() + "', version '" + "' at '" + globals->get_fg_root().str() + "', version '" + required_version + "' is required."); exit(-1); -- 2.39.5