Fix a std:: namespace issue on Windows.

This commit is contained in:
James Turner 2011-11-13 21:27:15 +00:00
parent 63ccb3df4c
commit 3e07423778

View File

@ -605,7 +605,7 @@ bool SGSoundMgr::load(string &samplepath, void **dbuf, int *fmt,
// occurs: e.g. -43 on Mac when file is not found. // occurs: e.g. -43 on Mac when file is not found.
// In this case, alGetString() sets 'Invalid Enum' error, so // In this case, alGetString() sets 'Invalid Enum' error, so
// showing with the original error number is helpful. // showing with the original error number is helpful.
stringstream ss; std::stringstream ss;
ss << alGetString(alGetError()) << "(" << error << ")"; ss << alGetString(alGetError()) << "(" << error << ")";
msg.append(ss.str()); msg.append(ss.str());
} }