fix(library/kernel_bindings): clang++ compilation error
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
6e78256b87
commit
0edcea55de
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ static int definition_get_value(lua_State * L) {
|
||||||
}
|
}
|
||||||
static int definition_get_weight(lua_State * L) { return push_integer(L, to_definition(L, 1).get_weight()); }
|
static int definition_get_weight(lua_State * L) { return push_integer(L, to_definition(L, 1).get_weight()); }
|
||||||
static list<name> to_param_names(lua_State * L, int _idx) {
|
static list<name> to_param_names(lua_State * L, int _idx) {
|
||||||
return table_to_list<name>(L, _idx, [](lua_State * L, int idx) {
|
return table_to_list<name>(L, _idx, [](lua_State * L, int idx) -> name {
|
||||||
if (is_level(L, idx)) {
|
if (is_level(L, idx)) {
|
||||||
level const & l = to_level(L, idx);
|
level const & l = to_level(L, idx);
|
||||||
if (is_param(l))
|
if (is_param(l))
|
||||||
|
|
Loading…
Reference in a new issue