From 0e0341db6ce38d5c655bae2f60b0be2c5e70ef42 Mon Sep 17 00:00:00 2001 From: amassalha Date: Wed, 24 Jan 2024 06:51:12 +0200 Subject: [PATCH] Update basic_json.hpp --- include/jsoncons/basic_json.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/jsoncons/basic_json.hpp b/include/jsoncons/basic_json.hpp index 9826e7e2d..6cd893e79 100644 --- a/include/jsoncons/basic_json.hpp +++ b/include/jsoncons/basic_json.hpp @@ -354,11 +354,11 @@ namespace jsoncons { { return last_; } - const_iterator cbegin() const + const_iterator cbegin() const noexcept { return first_; } - const_iterator cend() const + const_iterator cend() const noexcept { return last_; } @@ -370,11 +370,11 @@ namespace jsoncons { { return reverse_iterator(first_); } - const_reverse_iterator crbegin() const + const_reverse_iterator crbegin() const noexcept { return reverse_iterator(last_); } - const_reverse_iterator crend() const + const_reverse_iterator crend() const noexcept { return reverse_iterator(first_); }