diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 17:46:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 17:46:36 +0200 |
commit | fdc1bd89559ea5efe2b3f6aa45b5158fedaed587 (patch) | |
tree | d30011b529ece7d760251b943f8742fdd5c9269f /vcl/headless | |
parent | dbced8e8584b631524dacf607f752ebb734901db (diff) |
loplugin:nullptr
Change-Id: I5090b2e55eb618b53748966133fe9166ee736866
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpinst.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 65c25f12a075..82c18950f6c6 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -80,13 +80,13 @@ SvpSalInstance::SvpSalInstance( SalYieldMutex *pMutex ) : CreateWakeupPipe(); if( s_pDefaultInstance == nullptr ) s_pDefaultInstance = this; - pthread_atfork(NULL, NULL, atfork_child); + pthread_atfork(nullptr, nullptr, atfork_child); } SvpSalInstance::~SvpSalInstance() { if( s_pDefaultInstance == this ) - s_pDefaultInstance = NULL; + s_pDefaultInstance = nullptr; CloseWakeupPipe(); } |