Use nullptr instead of 0 or NULL (clang-tidy warns) (#603)

This commit is contained in:
Alexander
2018-07-03 07:59:04 +03:00
committed by Jesse Beder
parent 0f9a586ca1
commit 1698b47b65
9 changed files with 15 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ class Scanner {
enum INDENT_TYPE { MAP, SEQ, NONE };
enum STATUS { VALID, INVALID, UNKNOWN };
IndentMarker(int column_, INDENT_TYPE type_)
: column(column_), type(type_), status(VALID), pStartToken(0) {}
: column(column_), type(type_), status(VALID), pStartToken(nullptr) {}
int column;
INDENT_TYPE type;