From 4a667474433f18c60facd556daa5b73c6e651f4e Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 29 May 2026 13:35:01 +0200 Subject: Adding const to element which kinda needs const --- modules/codec/c++/data_math.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/codec/c++') diff --git a/modules/codec/c++/data_math.hpp b/modules/codec/c++/data_math.hpp index 1a56bd0..48dae91 100644 --- a/modules/codec/c++/data_math.hpp +++ b/modules/codec/c++/data_math.hpp @@ -132,7 +132,7 @@ public: } template - data, encode::Native> cast_to(){ + data, encode::Native> cast_to() const { data, encode::Native> native_change; rank_iterator::in_fixed_bounds([&](const data, encode::Native>& index) -> error_or{ native_change.at(index) = at(index).template cast_to(); -- cgit v1.2.3