Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Sep 13, 2024
1 parent ac057fb commit bebdb9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iguana/pb_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ IGUANA_INLINE void from_pb_impl(T& val, std::string_view& pb_str,
"Invalid fixed int value: too few bytes.");
}

// detail::resize(val, size);
val.resize(size);
detail::resize(val, size);
// val.resize(size);
size_t index = 0;
size_t start = pb_str.size();
while (!pb_str.empty() && index < size) {
Expand Down

0 comments on commit bebdb9f

Please sign in to comment.