Commit 3fbb54e0 authored by Max Kellermann's avatar Max Kellermann

util/IterableSplitString: use operator==(nullptr_t)

parent fe6de14f
...@@ -72,7 +72,7 @@ public: ...@@ -72,7 +72,7 @@ public:
:current(n), rest(n), separator(0) {} :current(n), rest(n), separator(0) {}
void Next() { void Next() {
if (rest.IsNull()) if (rest == nullptr)
current = nullptr; current = nullptr;
else { else {
const auto *i = rest.Find(separator); const auto *i = rest.Find(separator);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment