8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b3e87b commit af76e5fCopy full SHA for af76e5f
cores/esp8266/Delegate.h
@@ -342,7 +342,7 @@ namespace detail
342
}
343
else if (FPA == kind)
344
{
345
- return std::bind(fnA, obj);
+ return [this](P... args) { return fnA(obj, std::forward<P...>(args...)); };
346
347
else
348
@@ -1217,7 +1217,7 @@ namespace detail
1217
1218
1219
1220
+ return [this]() { return fnA(obj); };
1221
1222
1223
0 commit comments