diff options
| author | 2020-02-06 11:25:42 +0000 | |
|---|---|---|
| committer | 2020-02-06 11:25:42 +0000 | |
| commit | 98e4ddfb21d285c8b675788c155bb204822fbd4a (patch) | |
| tree | 030eb18c989bf3c9e4768a538796e3221ca7934e /include/numeric.h | |
| parent | In C++11 [io]fstream has std::string constructors; use them. (diff) | |
Use C++11 inline initialisation for class members.
Diffstat (limited to 'include/numeric.h')
| -rw-r--r-- | include/numeric.h | 3 |
1 files changed, 1 insertions, 2 deletions
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) { } |
