diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:09:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:15 +0100 |
commit | 8697284d248f47dd4798f7ef49791fc7686f646d (patch) | |
tree | 3cc7278e7160aa96242b03dcc683f0ff5f235aa7 /avmedia/source/gstreamer/gstwindow.cxx | |
parent | cb0fb3edd43194311a76ad6c0d3adad7f6dfe53d (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ib3f24439ffda42d217300dcc0ca979964ade360a
Diffstat (limited to 'avmedia/source/gstreamer/gstwindow.cxx')
-rw-r--r-- | avmedia/source/gstreamer/gstwindow.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/avmedia/source/gstreamer/gstwindow.cxx b/avmedia/source/gstreamer/gstwindow.cxx index e3c5cc96f980..bee5f0a7ff0c 100644 --- a/avmedia/source/gstreamer/gstwindow.cxx +++ b/avmedia/source/gstreamer/gstwindow.cxx @@ -33,13 +33,13 @@ namespace avmedia { namespace gstreamer { static ::osl::Mutex& ImplGetOwnStaticMutex() { - static ::osl::Mutex* pMutex = NULL; + static ::osl::Mutex* pMutex = nullptr; - if( pMutex == NULL ) + if( pMutex == nullptr ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if( pMutex == NULL ) + if( pMutex == nullptr ) { static ::osl::Mutex aMutex; pMutex = &aMutex; |