forked from OSchip/llvm-project
[libcxx][nfc] Delete `cpp20_input_iterator`'s default constructor.
This will make it conform only to the minimum requirements for an `input_iterator`.
This commit is contained in:
parent
86832c9440
commit
b187e0389d
|
@ -698,7 +698,7 @@ struct cpp20_input_iterator {
|
|||
using difference_type = std::iter_difference_t<I>;
|
||||
using iterator_concept = std::input_iterator_tag;
|
||||
|
||||
cpp20_input_iterator() = default;
|
||||
cpp20_input_iterator() = delete;
|
||||
|
||||
cpp20_input_iterator(cpp20_input_iterator&&) = default;
|
||||
cpp20_input_iterator& operator=(cpp20_input_iterator&&) = default;
|
||||
|
|
Loading…
Reference in New Issue