From 4b5481a66516a5c87a70a0fbff7a00542bd0f4dd Mon Sep 17 00:00:00 2001 From: Eduardo Menges Mattje Date: Tue, 7 May 2024 15:11:48 -0300 Subject: [PATCH] fix: Reverted range iteration on this --- src/base/blob.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/blob.hpp b/src/base/blob.hpp index 9feaec77..53622685 100644 --- a/src/base/blob.hpp +++ b/src/base/blob.hpp @@ -66,7 +66,7 @@ namespace sgns::base { std::string out_str; char temp_buf[3]; - for ( auto it : this ) + for ( auto it = this->begin(); it != this->end(); ++it ) { snprintf( temp_buf, sizeof( temp_buf ), "%02x", *it ); out_str.append( temp_buf, sizeof( temp_buf ) - 1 );