]> git.mxchange.org Git - flightgear.git/blobdiff - src/Viewer/renderingpipeline.cxx
commradio: improvements for atis speech
[flightgear.git] / src / Viewer / renderingpipeline.cxx
index ab4f9640ac377cf9291e75aa194c3134023eb275..1c0cb345d53207eedc16a3a0440680073165ac46 100644 (file)
@@ -132,8 +132,8 @@ void findAttrOrHex(const simgear::effect::EffectPropertyMap<T>& pMap,
         try {
             result = boost::lexical_cast<T>(val);
         } catch (boost::bad_lexical_cast &) {
-            throw simgear::effect::BuilderException(string("findAttrOrHex: could not find attribute ")
-                                   string(val));
+            throw simgear::effect::BuilderException(std::string("findAttrOrHex: could not find attribute ")
+                                                    + std::string(val));
         }
     }
 }