From 54274a4b9c616bcf0be1e85aa457a9298dbd3237 Mon Sep 17 00:00:00 2001 From: Bertrand Coconnier Date: Sat, 25 Jun 2016 21:26:50 +0200 Subject: [PATCH] convert another 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 97f4c4883..add1c3fe2 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -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); }