Skip to content

Commit

Permalink
Fix static assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
heinsaar committed Oct 19, 2023
1 parent 0ac8ce7 commit 7b0aa18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zen/functions/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ template<class Iterable>
void generate_random(Iterable& c, int size = 10) // TODO: Generalize & test with all containers before Kaizen 1.0.0 release
{
ZEN_STATIC_ASSERT(zen::is_iterable_v< Iterable>, "TEMPLATE PARAMETER EXPECTED TO BE Iterable, BUT IS NOT");
ZEN_STATIC_ASSERT(zen::is_resizable_v<Iterable>, "TEMPLATE PARAMETER EXPECTED TO BE Iterable, BUT IS NOT");
ZEN_STATIC_ASSERT(zen::is_resizable_v<Iterable>, "TEMPLATE PARAMETER EXPECTED TO BE RESIZABLE, BUT IS NOT");

if (std::empty(c))
c.resize(size);
Expand Down

0 comments on commit 7b0aa18

Please sign in to comment.