convert another path to std::string before using it to prevent a compiler error
This commit is contained in:
parent
e165fc5ebe
commit
54274a4b9c
1 changed files with 1 additions and 1 deletions
|
@ -2612,7 +2612,7 @@ void Options::setupRoot(int argc, char **argv)
|
||||||
if (base_version.empty()) {
|
if (base_version.empty()) {
|
||||||
flightgear::fatalMessageBox("Base package not found",
|
flightgear::fatalMessageBox("Base package not found",
|
||||||
"Required data files not found, check your installation.",
|
"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);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue