Be consistent about using nullptr instead of 0

0 can be too easily overloaded into an int, so ensure we use nullptr
when we mean pointers.
This commit is contained in:
Ian McInerney
2021-04-22 22:20:34 +01:00
parent fcca4bc3e6
commit ecd9bf696e
41 changed files with 169 additions and 169 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ PLOTTER::PLOTTER( )
m_plotMirror = false; // Plot mirror option flag
m_mirrorIsHorizontal = true;
m_yaxisReversed = false;
m_outputFile = 0;
m_outputFile = nullptr;
m_colorMode = false; // Starts as a BW plot
m_negativeMode = false;
// Temporary init to avoid not initialized vars, will be set later