8000 Fix deletion of argument value caused by forwarding to Delegate. · dok-net/arduino-esp8266@79c3816 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79c3816

Browse files
committed
Fix deletion of argument value caused by forwarding to Delegate.
1 parent a5ee065 commit 79c3816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/MultiDelegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ namespace detail
261261
do
262262
{
263263
done = current == stop;
264-
if (!CallP<Delegate, R, ISQUEUE, P...>::execute(current->mDelegate, std::forward<P...>(args...)))
264+
if (!CallP<Delegate, R, ISQUEUE, P...>::execute(current->mDelegate, args...))
265265
{
266266
// remove callback from stack
267267
esp8266::InterruptLock lockAllInterruptsInThisScope;

0 commit comments

Comments
 (0)
0