From 10c3b73cfb3a1c936ff8debebc72212637e57574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20G=C3=BCndling?= Date: Sun, 27 Aug 2023 10:17:05 +0200 Subject: [PATCH] vecvec: make const_bucket::iterator = DataVec::const_iterator --- include/cista/containers/vecvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cista/containers/vecvec.h b/include/cista/containers/vecvec.h index 33f4caa0..72238b41 100644 --- a/include/cista/containers/vecvec.h +++ b/include/cista/containers/vecvec.h @@ -149,7 +149,7 @@ struct basic_vecvec { struct const_bucket final { using value_type = data_value_type; - using iterator = typename DataVec::iterator; + using iterator = typename DataVec::const_iterator; using const_iterator = typename DataVec::const_iterator; using iterator_category = std::random_access_iterator_tag;