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

@ -165,7 +165,7 @@ class map
{
auto it = find(key);
if (it == end())
throw ctl::out_of_range("out of range");
throw ctl::out_of_range();
return it->second;
}
@ -173,7 +173,7 @@ class map
{
auto it = find(key);
if (it == end())
throw ctl::out_of_range("out of range");
throw ctl::out_of_range();
return it->second;
}