Fix index type
This commit is contained in:
parent
91ba9e25c0
commit
11ee71ba27
@ -77,7 +77,7 @@ namespace chaiscript
|
||||
const std::vector<Boxed_Value> ¶ms, const Type_Conversions_State &t_conversions)
|
||||
{
|
||||
try {
|
||||
int i = 0;
|
||||
std::vector<Boxed_Value>::size_type i = 0;
|
||||
(void)params; (void)t_conversions;
|
||||
// this is ok because the order of evaluation of initializer lists is well defined
|
||||
(void)std::initializer_list<int>{(boxed_cast<Params>(params[i++], &t_conversions), 0)...};
|
||||
|
Loading…
x
Reference in New Issue
Block a user