Skip to content

Commit

Permalink
vector::assign fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
GValiente committed Oct 12, 2023
1 parent f1b1b95 commit 3cfb7a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions butano/include/bn_documentation.h
Original file line number Diff line number Diff line change
Expand Up @@ -2156,6 +2156,11 @@
* @tableofcontents
*
*
* @section changelog_15_8_1 15.8.1 (next release)
*
* bn::vector::assign fixed.
*
*
* @section changelog_15_8_0 15.8.0
*
* * Color-related H-Blank effects cleanup fixed.
Expand Down
2 changes: 1 addition & 1 deletion butano/include/bn_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ class ivector
*/
void assign(size_type count, const_reference value)
{
BN_ASSERT(count >= 0 && count <= _size, "Invalid count: ", count, " - ", _max_size);
BN_ASSERT(count >= 0 && count <= _max_size, "Invalid count: ", count, " - ", _max_size);

pointer data = _data;
clear();
Expand Down
3 changes: 2 additions & 1 deletion docs/changelog.html

Large diffs are not rendered by default.

0 comments on commit 3cfb7a2

Please sign in to comment.