I think there was a mistake (using a pointer where no pointer was passed).
Also, I am not sure what happens if a bool is initialized with NULL and I am not sure this was intended.
I think there was a mistake (using a pointer where no pointer was passed).
Also, I am not sure what happens if a bool is initialized with NULL and I am not sure this was intended.
muellerr
added the bug label 2020-06-17 20:58:46 +02:00
gaisser
self-assigned this 2020-06-23 20:16:16 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I think there was a mistake (using a pointer where no pointer was passed).
Also, I am not sure what happens if a bool is initialized with NULL and I am not sure this was intended.
There is another issue in the other constructor. End(NULL) can now be removed.
@@ -68,3 +66,2 @@bool operator==(HybridIterator other) {return value == other->value;bool operator==(const HybridIterator& other) {This function can also be const
@@ -71,3 +69,3 @@}bool operator!=(HybridIterator other) {bool operator!=(const HybridIterator& other) {This function can be const as well
@@ -90,3 +87,4 @@T *end = nullptr;};#endif /* HYBRIDITERATOR_H_ */This is picky, but the comment is wrong :P