Fix issue with ctl::vector constructor

This commit is contained in:
Justine Tunney 2024-06-30 02:26:38 -07:00
parent 4cb5e21ba8
commit 387310c659
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 70 additions and 24 deletions

View file

@ -352,5 +352,13 @@ main()
return 80;
}
{
ctl::vector<int> dog(8, 0);
if (dog.size() != 8)
return 81;
if (dog[0] != 0)
return 82;
}
CheckForMemoryLeaks();
}