Title: [204538] trunk/Source/WTF
- Revision
- 204538
- Author
- [email protected]
- Date
- 2016-08-16 16:05:59 -0700 (Tue, 16 Aug 2016)
Log Message
Fix a thinko.
* wtf/Scope.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (204537 => 204538)
--- trunk/Source/WTF/ChangeLog 2016-08-16 23:00:33 UTC (rev 204537)
+++ trunk/Source/WTF/ChangeLog 2016-08-16 23:05:59 UTC (rev 204538)
@@ -1,5 +1,11 @@
2016-08-16 Anders Carlsson <[email protected]>
+ Fix a thinko.
+
+ * wtf/Scope.h:
+
+2016-08-16 Anders Carlsson <[email protected]>
+
Add WTF::ScopeExit
https://bugs.webkit.org/show_bug.cgi?id=160908
Modified: trunk/Source/WTF/wtf/Scope.h (204537 => 204538)
--- trunk/Source/WTF/wtf/Scope.h 2016-08-16 23:00:33 UTC (rev 204537)
+++ trunk/Source/WTF/wtf/Scope.h 2016-08-16 23:05:59 UTC (rev 204538)
@@ -37,7 +37,7 @@
public:
template<typename ExitFunctionParameter>
explicit ScopeExit(ExitFunctionParameter&& exitFunction)
- : m_exitFunction(std::forward<ExitFunction>(m_exitFunction))
+ : m_exitFunction(std::forward<ExitFunction>(exitFunction))
{
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes