From b187e0389d13d72056c7c15e10bcb7f429a9aa87 Mon Sep 17 00:00:00 2001 From: zoecarver Date: Tue, 27 Jul 2021 15:46:10 -0700 Subject: [PATCH] [libcxx][nfc] Delete `cpp20_input_iterator`'s default constructor. This will make it conform only to the minimum requirements for an `input_iterator`. --- libcxx/test/support/test_iterators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/test/support/test_iterators.h b/libcxx/test/support/test_iterators.h index 3301264dee34..12cdd36632c1 100644 --- a/libcxx/test/support/test_iterators.h +++ b/libcxx/test/support/test_iterators.h @@ -698,7 +698,7 @@ struct cpp20_input_iterator { using difference_type = std::iter_difference_t; 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;