util/IterableSplitString: use operator==(nullptr_t)
This commit is contained in:
parent
fe6de14faf
commit
3fbb54e0a4
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user