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

@@ -11,8 +11,8 @@ namespace YAML {
struct Mark;
NodeBuilder::NodeBuilder()
: m_pMemory(new detail::memory_holder), m_pRoot(0), m_mapDepth(0) {
m_anchors.push_back(0); // since the anchors start at 1
: m_pMemory(new detail::memory_holder), m_pRoot(nullptr), m_mapDepth(0) {
m_anchors.push_back(nullptr); // since the anchors start at 1
}
NodeBuilder::~NodeBuilder() {}