From 3fbb54e0a497c74e32ab26e861c3ee79c24a46be Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Aug 2018 15:35:09 +0200 Subject: [PATCH] util/IterableSplitString: use operator==(nullptr_t) --- src/util/IterableSplitString.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/IterableSplitString.hxx b/src/util/IterableSplitString.hxx index 9ec8540c7..f6d8ff0b4 100644 --- a/src/util/IterableSplitString.hxx +++ b/src/util/IterableSplitString.hxx @@ -72,7 +72,7 @@ public: :current(n), rest(n), separator(0) {} void Next() { - if (rest.IsNull()) + if (rest == nullptr) current = nullptr; else { const auto *i = rest.Find(separator);