]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCVoice.hxx
The most important part is that it fixes possible
[flightgear.git] / src / ATC / ATCVoice.hxx
index 9d9fb7d92be9e37625f279b84920ea42f02d0e5a..965aeadcc4cb9bee9f011da3f7879d2d627b2f9d 100644 (file)
@@ -65,7 +65,7 @@ public:
 
        // Load the two voice files - one containing the raw sound data (.wav) and one containing the word positions (.vce).
        // Return true if successful.   
-       bool LoadVoice(string voice);
+       bool LoadVoice(const string& voice);
        
        // Given a desired message, return a pointer to the data buffer and write the buffer length into len.
        // Sets dataOK = true if the returned buffer is valid.