From 0f87380f0d3ce5e59630eba29c1805bbce3ff2d5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 31 Aug 2025 19:35:33 +0300 Subject: [PATCH] Fix declarations of begin() and end() --- include/boost/uuid/uuid.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/uuid/uuid.hpp b/include/boost/uuid/uuid.hpp index fbc7e26..7c8dff0 100644 --- a/include/boost/uuid/uuid.hpp +++ b/include/boost/uuid/uuid.hpp @@ -153,11 +153,11 @@ public: using size_type = std::size_t; using difference_type = std::ptrdiff_t; - constexpr iterator begin() noexcept { return data; } - BOOST_CXX14_CONSTEXPR const_iterator begin() const noexcept { return data; } + BOOST_CXX14_CONSTEXPR iterator begin() noexcept { return data; } + constexpr const_iterator begin() const noexcept { return data; } - constexpr iterator end() noexcept { return data() + size(); } - BOOST_CXX14_CONSTEXPR const_iterator end() const noexcept { return data() + size(); } + BOOST_CXX14_CONSTEXPR iterator end() noexcept { return data() + size(); } + constexpr const_iterator end() const noexcept { return data() + size(); } // size