]> git.mxchange.org Git - flightgear.git/commitdiff
convert the path to std::string before using it to prevent a compiler error
authorErik Hofman <erik@ehofman.com>
Sat, 25 Jun 2016 13:00:35 +0000 (15:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:37 +0000 (23:27 +0200)
src/Main/options.cxx

index 2b73c51228b86bf1c0d29d5873f544d486715406..97f4c488310fd7efcf080bec31c62f305fa7d44c 100644 (file)
@@ -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);