mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
This commit is contained in:
parent
e0a38a30db
commit
f04309f44a
533 changed files with 13927 additions and 13931 deletions
|
|
@ -94,7 +94,7 @@ JUCE_API void JUCE_CALLTYPE shutdownJuce_NonGUI()
|
|||
|
||||
JUCE_AUTORELEASEPOOL
|
||||
|
||||
LocalisedStrings::setCurrentMappings (0);
|
||||
LocalisedStrings::setCurrentMappings (nullptr);
|
||||
Thread::stopAllThreads (3000);
|
||||
|
||||
#if JUCE_DEBUG
|
||||
|
|
@ -118,7 +118,7 @@ JUCE_API void JUCE_CALLTYPE initialiseJuce_GUI()
|
|||
initialiseJuce_NonGUI();
|
||||
|
||||
MessageManager::getInstance();
|
||||
LookAndFeel::setDefaultLookAndFeel (0);
|
||||
LookAndFeel::setDefaultLookAndFeel (nullptr);
|
||||
|
||||
#if JUCE_DEBUG
|
||||
try // This section is just a safety-net for catching builds without RTTI enabled..
|
||||
|
|
@ -128,7 +128,7 @@ JUCE_API void JUCE_CALLTYPE initialiseJuce_GUI()
|
|||
|
||||
// Got an exception here? Then TURN ON RTTI in your compiler settings!!
|
||||
o = dynamic_cast <MemoryOutputStream*> (o);
|
||||
jassert (o != 0);
|
||||
jassert (o != nullptr);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue