]> git.saurik.com Git - wxWidgets.git/commitdiff
fix typo (missing P2 argument in template)
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 9 Oct 2008 14:23:06 +0000 (14:23 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 9 Oct 2008 14:23:06 +0000 (14:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/scopeguard.h

index a3a4fffa7e2ed3902a0dd6466b450e5d9b969eab..baa33fb799d78ef4f776b43ed40d2062016c11d3 100644 (file)
@@ -366,7 +366,7 @@ public:
     static wxObjScopeGuardImpl3<Obj, MemFun, P1, P2, P3>
         MakeObjGuard(Obj& obj, MemFun memFun, P1 p1, P2 p2, P3 p3)
     {
-        return wxObjScopeGuardImpl3<Obj, MemFun, P1, P3>(obj, memFun, p1, p2, p3);
+        return wxObjScopeGuardImpl3<Obj, MemFun, P1, P2, P3>(obj, memFun, p1, p2, p3);
     }
 
     ~wxObjScopeGuardImpl3() { wxPrivateOnScopeExit(*this); }