Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Mar 1, 2025
1 parent 5a5e65e commit 66e05ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yasio/ibstream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ class binary_reader_impl {
{
return read_blob(&out, static_cast<int>(sizeof(_Ty)), 1);
}
template <typename _Ty, size_t _N>
size_t read_blob(_Ty (&out)[_N])
template <typename _Ty, size_t _Count>
size_t read_blob(_Ty (&out)[_Count])
{
return read_blob(out, static_cast<int>(sizeof(_Ty)), static_cast<int>(_N));
return read_blob(out, static_cast<int>(sizeof(_Ty)), static_cast<int>(_Count));
}
size_t read_blob(void* out, int size, int count)
{
Expand Down

0 comments on commit 66e05ba

Please sign in to comment.