From 1411904ec0279f5fb748facd06f7d24a7f9cc538 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 23 Jan 2007 12:31:17 +0000 Subject: [PATCH] std::exception(const char*) seems to be an msvc extension... SVN-Revision: 4660 --- src/audio/sound_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/sound_manager.cpp b/src/audio/sound_manager.cpp index 2e83630e6..af6da5ca4 100644 --- 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 source (new OpenALSoundSource()); -- 2.11.0