From 3e0742377820a6dc2df62dae79021c3964710a96 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 13 Nov 2011 21:27:15 +0000 Subject: [PATCH] Fix a std:: namespace issue on Windows. --- simgear/sound/soundmgr_openal.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.39.5