mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
luaengine.cpp: Shut up clang warning about unused lambda capture
This commit is contained in:
parent
cac83ba5b1
commit
293deba33c
@ -331,6 +331,8 @@ auto lua_engine::make_simple_callback_setter(void (T::*setter)(delegate<R ()> &&
|
||||
{
|
||||
if constexpr (std::is_same_v<R, void>)
|
||||
{
|
||||
(void)dflt;
|
||||
(void)desc;
|
||||
invoke(cbfunc);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user