aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/sanitised_dependencies.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-08-04 22:04:15 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-08-04 22:11:01 -0700
commitd81457e4208ba6ed94b86e430c567e4c0e1f7046 (patch)
tree971aa44d14aa446e6f7641d4bf4c1279de0f0b54 /paludis/resolver/sanitised_dependencies.cc
parentf3cd2455110fad09158275287cbdaa67cc3e15c3 (diff)
downloadpaludis-d81457e4208ba6ed94b86e430c567e4c0e1f7046.tar.gz
paludis-d81457e4208ba6ed94b86e430c567e4c0e1f7046.tar.xz
modernize: use nullptr rather than 0 or NULL
Automated conversion to nullptr. NFC.
Diffstat (limited to 'paludis/resolver/sanitised_dependencies.cc')
-rw-r--r--paludis/resolver/sanitised_dependencies.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/resolver/sanitised_dependencies.cc b/paludis/resolver/sanitised_dependencies.cc
index 0ac5969d6..deb3b533b 100644
--- a/paludis/resolver/sanitised_dependencies.cc
+++ b/paludis/resolver/sanitised_dependencies.cc
@@ -139,7 +139,7 @@ namespace
parent_make_sanitised(f),
super_complicated(false),
nested(false),
- active_sublist(0),
+ active_sublist(nullptr),
seen_any(false)
{
}
@@ -194,7 +194,7 @@ namespace
std::for_each(indirect_iterator(node.begin()), indirect_iterator(node.end()), accept_visitor(*this));
else
{
- Save<std::list<PackageOrBlockDepSpec> *> save_active_sublist(&active_sublist, 0);
+ Save<std::list<PackageOrBlockDepSpec> *> save_active_sublist(&active_sublist, nullptr);
active_sublist = &*child_groups.insert(child_groups.end(), std::list<PackageOrBlockDepSpec>());
std::for_each(indirect_iterator(node.begin()), indirect_iterator(node.end()), accept_visitor(*this));
}
@@ -209,7 +209,7 @@ namespace
std::for_each(indirect_iterator(node.begin()), indirect_iterator(node.end()), accept_visitor(*this));
else
{
- Save<std::list<PackageOrBlockDepSpec> *> save_active_sublist(&active_sublist, 0);
+ Save<std::list<PackageOrBlockDepSpec> *> save_active_sublist(&active_sublist, nullptr);
active_sublist = &*child_groups.insert(child_groups.end(), std::list<PackageOrBlockDepSpec>());
std::for_each(indirect_iterator(node.begin()), indirect_iterator(node.end()), accept_visitor(*this));
}
@@ -233,7 +233,7 @@ namespace
}
else
{
- Save<std::list<PackageOrBlockDepSpec> *> save_active_sublist(&active_sublist, 0);
+ Save<std::list<PackageOrBlockDepSpec> *> save_active_sublist(&active_sublist, nullptr);
active_sublist = &*child_groups.insert(child_groups.end(), std::list<PackageOrBlockDepSpec>());
for (std::list<SanitisedDependency>::const_iterator i(l.begin()), i_end(l.end()) ;
i != i_end ; ++i)