Replace 0 and NULL with nullptr where apropriate.

- fixed using clang-tidy's modernize-use-nullptr check.
This commit is contained in:
Jim Evins
2017-03-21 23:48:13 -04:00
parent e09936233a
commit 4be4ea08f6
54 changed files with 124 additions and 124 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ namespace glabels
{
const double FRAC_EPSILON = 0.00005;
const double denom[] = { 1.0, 2.0, 3.0, 4.0, 8.0, 16.0, 32.0, 0.0 };
const char* denom_string[] = { "1", "", "", "", "", "₁₆", "₃₂", NULL };
const char* denom_string[] = { "1", "", "", "", "", "₁₆", "₃₂", nullptr };
const char* num_string[] = { "", "¹", "²", "³", "", "", "", "", "", "",
"¹⁰", "¹¹", "¹²", "¹³", "¹⁴", "¹⁵", "¹⁶", "¹⁷", "¹⁸", "¹⁹",
"²⁰", "²¹", "²²", "²³", "²⁴", "²⁵", "²⁶", "²⁷", "²⁸", "²⁹",