mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
luaengine_input.cpp: Fix clang error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
This commit is contained in:
parent
e008c7b1b1
commit
c58c7474a7
@ -515,7 +515,7 @@ void lua_engine::initialize_input(sol::table &emu)
|
||||
|
||||
auto seqpoll_type = sol().registry().new_usertype<input_sequence_poller>("input_seq_poller", sol::no_constructor);
|
||||
seqpoll_type["start"] =
|
||||
[this] (input_sequence_poller &poller, char const *cls_string, sol::object seq)
|
||||
[] (input_sequence_poller &poller, char const *cls_string, sol::object seq)
|
||||
{
|
||||
input_item_class cls;
|
||||
if (!strcmp(cls_string, "switch"))
|
||||
|
Loading…
Reference in New Issue
Block a user