mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-11 05:21:16 +00:00
Use nullptr instead of 0 or NULL (clang-tidy warns) (#603)
This commit is contained in:
@@ -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() {}
|
||||
|
Reference in New Issue
Block a user