Fix a std:: namespace issue on Windows.
This commit is contained in:
parent
63ccb3df4c
commit
3e07423778
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user