1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +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:
Julian Storer 2011-04-07 13:49:01 +01:00
parent e0a38a30db
commit f04309f44a
533 changed files with 13927 additions and 13931 deletions

View file

@ -30,7 +30,7 @@
//==============================================================================
WebBrowserComponent::WebBrowserComponent (const bool unloadPageWhenBrowserIsHidden_)
: browser (0),
: browser (nullptr),
blankPageShown (false),
unloadPageWhenBrowserIsHidden (unloadPageWhenBrowserIsHidden_)
{
@ -49,11 +49,11 @@ void WebBrowserComponent::goToURL (const String& url,
lastURL = url;
lastHeaders.clear();
if (headers != 0)
if (headers != nullptr)
lastHeaders = *headers;
lastPostData.setSize (0);
if (postData != 0)
if (postData != nullptr)
lastPostData = *postData;
blankPageShown = false;