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 );