From 4ea5cd7911ee0dbe1dc78a9326a63c0a0e1a1d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sat, 25 Jun 2022 19:49:54 +0200 Subject: [PATCH] Fixes GitHub #223 ("Possible copypaste typo") --- doc/container.qbk | 3 ++- include/boost/container/throw_exception.hpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/container.qbk b/doc/container.qbk index d690491..067b555 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -1341,7 +1341,8 @@ use [*Boost.Container]? There are several reasons for that: [section:release_notes_boost_1_80_00 Boost 1.80 Release] * Fixed bugs/issues: - * [@https://github.com/boostorg/container/issues/222 GitHub #222: ['"Fix incomplete type error when using list with pair"]]. + * [@https://github.com/boostorg/container/pull/222 GitHub #222: ['"Fix incomplete type error when using list with pair"]]. + * [@https://github.com/boostorg/container/issues/223 GitHub #223: ['"Possible copypaste typo"]]. [endsect] diff --git a/include/boost/container/throw_exception.hpp b/include/boost/container/throw_exception.hpp index 8bc17e0..f80c905 100644 --- a/include/boost/container/throw_exception.hpp +++ b/include/boost/container/throw_exception.hpp @@ -97,7 +97,7 @@ class BOOST_SYMBOL_VISIBLE length_error {} }; -typedef out_of_range length_error_t; +typedef length_error length_error_t; class BOOST_SYMBOL_VISIBLE logic_error : public exception