From 98e4ddfb21d285c8b675788c155bb204822fbd4a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 6 Feb 2020 11:25:42 +0000 Subject: Use C++11 inline initialisation for class members. --- include/numeric.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/numeric.h') diff --git a/include/numeric.h b/include/numeric.h index df67bbd6d..b6069e85e 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -39,7 +39,7 @@ class Numeric::Numeric /** Source server of the numeric, if NULL (the default) then it is the local server */ - Server* sourceserver; + Server* sourceserver = nullptr; public: /** Constructor @@ -47,7 +47,6 @@ class Numeric::Numeric */ Numeric(unsigned int num) : numeric(num) - , sourceserver(NULL) { } -- cgit v1.3.1-10-gc9f91