From: James Turner Date: Sun, 13 Nov 2011 21:27:15 +0000 (+0000) Subject: Fix a std:: namespace issue on Windows. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e0742377820a6dc2df62dae79021c3964710a96;hp=63ccb3df4c195124acb660c2ac7e11a42677476a;p=simgear.git Fix a std:: namespace issue on Windows. --- diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index f0c08eb2..efe751b6 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -605,7 +605,7 @@ bool SGSoundMgr::load(string &samplepath, void **dbuf, int *fmt, // occurs: e.g. -43 on Mac when file is not found. // In this case, alGetString() sets 'Invalid Enum' error, so // showing with the original error number is helpful. - stringstream ss; + std::stringstream ss; ss << alGetString(alGetError()) << "(" << error << ")"; msg.append(ss.str()); }