From 0eb901ee05870a26e1cebda7b2e4cd0345bb0ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 30 Dec 2021 23:27:40 +0100 Subject: [PATCH] Fix wrongly committed boost_iterator_comp_test version --- doc/container.qbk | 2 +- test/boost_iterator_comp_test.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/container.qbk b/doc/container.qbk index ca788fd..af24e37 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -1562,7 +1562,7 @@ use [*Boost.Container]? There are several reasons for that: * Fixed bugs: * [@https://github.com/boostorg/container/pull/48 GitHub #48: ['"Replace deprecated/removed C++98 binders"]]. * [@https://github.com/boostorg/container/pull/49 GitHub #49: ['"Remove useless allocator copy in map"]]. - * [@https://github.com/boostorg/container/pull/50 GitHub #50: ['"Fixed bug Trac #13038"]]. + * [@https://github.com/boostorg/container/pull/50 GitHub #50: ['"Fixed bug Trac #13038 (base64 iterators can't be used with iterator_advance)"]]. * [@https://github.com/boostorg/container/pull/51 GitHub #51: ['"Fix integer rollover that triggers clang ubsan when U is unsigned"]]. [endsect] diff --git a/test/boost_iterator_comp_test.cpp b/test/boost_iterator_comp_test.cpp index c937231..105ab60 100644 --- a/test/boost_iterator_comp_test.cpp +++ b/test/boost_iterator_comp_test.cpp @@ -7,7 +7,6 @@ int main() using Iterator = boost::archive::iterators::binary_from_base64; String s; - s.resize(111); - String s2; - s2.assign(Iterator{s.begin()},Iterator{s.end()}); + s.assign(Iterator{s.begin()},Iterator{s.end()}); + return 0; } \ No newline at end of file