summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-12-08 09:30:45 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-12-08 09:30:45 -0500
commitc58c7474a7c66070007b75ce9afb7207532aeaba (patch)
treec914f2cdf6ec3ecae1c349bfd1a3f611317887ca /src/frontend
parente008c7b1b1042d644be2a1e177ffa15d53e942c5 (diff)
luaengine_input.cpp: Fix clang error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/luaengine_input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/luaengine_input.cpp b/src/frontend/mame/luaengine_input.cpp
index 327f58e8a4f..30a4d34c181 100644
--- a/src/frontend/mame/luaengine_input.cpp
+++ b/src/frontend/mame/luaengine_input.cpp
@@ -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"))