Skip to content

Commit

Permalink
fix: Reverted range iteration on this
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges committed May 7, 2024
1 parent 0a69fab commit 4b5481a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/blob.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 4b5481a

Please sign in to comment.