From 4997b22f84307521a62838f874928bf56cd3423c Mon Sep 17 00:00:00 2001 From: thestig Date: Tue, 7 Jun 2016 10:46:22 -0700 Subject: Get rid of NULLs in core/ Review-Url: https://codereview.chromium.org/2032613003 --- core/fxge/dib/dib_int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fxge/dib/dib_int.h') diff --git a/core/fxge/dib/dib_int.h b/core/fxge/dib/dib_int.h index ebb1ddc0ed..415362d51d 100644 --- a/core/fxge/dib/dib_int.h +++ b/core/fxge/dib/dib_int.h @@ -42,10 +42,10 @@ struct PixelWeight { }; class CWeightTable { public: - CWeightTable() { m_pWeightTables = NULL; } + CWeightTable() { m_pWeightTables = nullptr; } ~CWeightTable() { FX_Free(m_pWeightTables); - m_pWeightTables = NULL; + m_pWeightTables = nullptr; } void Calc(int dest_len, int dest_min, -- cgit v1.2.3