]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/voice.cxx
Revive master sound enable switch.
[flightgear.git] / src / Sound / voice.cxx
index df85e1a986799d793a8bc28af500f7d67bdcd8c1..c1dec0b0ed688ba34055b67d97a48538d8b5b396 100644 (file)
 //
 // $Id$
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include <Main/globals.hxx>
 #include <sstream>
 #include <simgear/compiler.h>
@@ -28,6 +32,7 @@
 
 #define VOICE "/sim/sound/voices"
 
+using std::string;
 
 /// MANAGER ///
 
@@ -67,7 +72,7 @@ void FGVoiceMgr::init()
        try {
                for (unsigned int i = 0; i < voices.size(); i++)
                        _voices.push_back(new FGVoice(this, voices[i]));
-       } catch (const string& s) {
+       } catch (const std::string& s) {
                SG_LOG(SG_SOUND, SG_ALERT, "VOICE: " << s);
        }