diff --git a/src/juce_appframework/gui/components/special/juce_OpenGLComponent.cpp b/src/juce_appframework/gui/components/special/juce_OpenGLComponent.cpp index a9f7859323..626d7d921b 100644 --- a/src/juce_appframework/gui/components/special/juce_OpenGLComponent.cpp +++ b/src/juce_appframework/gui/components/special/juce_OpenGLComponent.cpp @@ -81,7 +81,7 @@ OpenGLContext::~OpenGLContext() knownContexts.removeValue (this); } -OpenGLContext* OpenGLContext::getCurrentContext() throw() +OpenGLContext* OpenGLContext::getCurrentContext() { for (int i = knownContexts.size(); --i >= 0;) { diff --git a/src/juce_appframework/gui/components/special/juce_OpenGLComponent.h b/src/juce_appframework/gui/components/special/juce_OpenGLComponent.h index 3dcad7740a..7fa00502fc 100644 --- a/src/juce_appframework/gui/components/special/juce_OpenGLComponent.h +++ b/src/juce_appframework/gui/components/special/juce_OpenGLComponent.h @@ -168,7 +168,7 @@ public: Returns 0 if there isn't an active context. */ - static OpenGLContext* getCurrentContext() throw(); + static OpenGLContext* getCurrentContext(); //============================================================================== juce_UseDebuggingNewOperator