projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666b1ac
)
std::exception(const char*) seems to be an msvc extension...
author
Matthias Braun
<matze@braunis.de>
Tue, 23 Jan 2007 12:31:17 +0000
(12:31 +0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 23 Jan 2007 12:31:17 +0000
(12:31 +0000)
SVN-Revision: 4660
src/audio/sound_manager.cpp
patch
|
blob
|
history
diff --git
a/src/audio/sound_manager.cpp
b/src/audio/sound_manager.cpp
index
2e83630
..
af6da5c
100644
(file)
--- a/
src/audio/sound_manager.cpp
+++ b/
src/audio/sound_manager.cpp
@@
-126,7
+126,7
@@
OpenALSoundSource*
SoundManager::intern_create_sound_source(const std::string& filename)
{
if(!sound_enabled)
- throw
new std::exception
("sound disabled");
+ throw
std::runtime_error
("sound disabled");
std::auto_ptr<OpenALSoundSource> source (new OpenALSoundSource());