From a33c689d7f3e61d2939086913611ffa22c261eb9 Mon Sep 17 00:00:00 2001 From: Vyacheslav Bespalov Date: Mon, 26 Sep 2022 15:50:14 +0300 Subject: [PATCH] Update unicode-db.hpp --- include/unicode-db/unicode-db.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/unicode-db/unicode-db.hpp b/include/unicode-db/unicode-db.hpp index 8610b25b..058ab771 100644 --- a/include/unicode-db/unicode-db.hpp +++ b/include/unicode-db/unicode-db.hpp @@ -7326,10 +7326,10 @@ constexpr auto script_extensions_view::iterator::operator++(int) -> iterator& { } constexpr auto script_extensions_view::iterator::operator++() -> iterator { - auto c = *this; + auto it = *this; idx++; m_script = detail::tables::get_cp_script(m_c, idx); - return c; + return it; } constexpr bool script_extensions_view::iterator::operator==(sentinel) const {