]> git.mxchange.org Git - flightgear.git/commitdiff
convert another path to std::string before using it to prevent a compiler error
authorBertrand Coconnier <bcoconni@users.sourceforge.net>
Sat, 25 Jun 2016 19:26:50 +0000 (21:26 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:37 +0000 (23:27 +0200)
src/Main/options.cxx

index 97f4c488310fd7efcf080bec31c62f305fa7d44c..add1c3fe29b96ec5e4428c5013d096ade1d848b3 100644 (file)
@@ -2612,7 +2612,7 @@ void Options::setupRoot(int argc, char **argv)
     if (base_version.empty()) {
         flightgear::fatalMessageBox("Base package not found",
                                     "Required data files not found, check your installation.",
-                                    "Looking for base-package files at: '" + root + "'");
+                                    "Looking for base-package files at: '" + root.str() + "'");
 
         exit(-1);
     }