From 76409ba8c1a57c9be68baf2d2c480673eb186eda Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 16 Jun 2025 14:18:21 +0200 Subject: Fixing data types --- modules/codec/c++/data.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 51a34ef..4b34bfa 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -324,11 +324,11 @@ public: {} constexpr data& at(data i) { - return value_.at(this->get_flat_index({i})); + return value_.at(this->get_flat_index({{i}})); } constexpr const data& at(data i) const { - return value_.at(this->get_flat_index({i})); + return value_.at(this->get_flat_index({{i}})); } constexpr data& at(const data>& i){ -- cgit v1.2.3