diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-20 15:35:09 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-20 15:35:09 +0200 |
commit | 3fbb54e0a497c74e32ab26e861c3ee79c24a46be (patch) | |
tree | b31ad4e24839f3d5522220d4a2f2411c88854115 /src | |
parent | fe6de14faf759f422760bfa0ae7b3c7b95bad9d3 (diff) |
util/IterableSplitString: use operator==(nullptr_t)
Diffstat (limited to 'src')
-rw-r--r-- | src/util/IterableSplitString.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |