[vlc-commits] activex: fix order of member initialization

Rafaël Carré git at videolan.org
Sat Nov 12 18:29:05 CET 2011


npapi-vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Nov 12 12:11:00 2011 -0500| [2597eeb80dbddf5cbf18d2b548825043369e035d] | committer: Rafaël Carré

activex: fix order of member initialization

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=2597eeb80dbddf5cbf18d2b548825043369e035d
---

 activex/connectioncontainer.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/activex/connectioncontainer.cpp b/activex/connectioncontainer.cpp
index 42c37e9..7d3800c 100644
--- a/activex/connectioncontainer.cpp
+++ b/activex/connectioncontainer.cpp
@@ -124,7 +124,7 @@ public:
 
 private:
     EventSystemProxyWnd(HWND hWnd, VLCConnectionPointContainer *pCPC)
-        :_pCPC(pCPC), _HasUnprocessedNotify(false), _hWnd(hWnd){};
+        : _hWnd(hWnd), _pCPC(pCPC), _HasUnprocessedNotify(false){};
     void ProcessNotify();
 
 public:
@@ -417,7 +417,7 @@ VLCDispatchEvent::~VLCDispatchEvent()
 ////////////////////////////////////////////////////////////////////////////////////////////////
 extern HMODULE DllGetModule();
 VLCConnectionPointContainer::VLCConnectionPointContainer(VLCPlugin *p_instance) :
-    _p_instance(p_instance), freeze(FALSE), isRunning(TRUE), _ESProxyWnd(0)
+    _ESProxyWnd(0), _p_instance(p_instance), isRunning(TRUE), freeze(FALSE)
 {
     _p_events = new VLCConnectionPoint(dynamic_cast<LPCONNECTIONPOINTCONTAINER>(this),
             _p_instance->getDispEventID());



More information about the vlc-commits mailing list