[vlc-commits] activex: Fix MSVC build
Hugo Beauzée-Luyssen
git at videolan.org
Fri Apr 17 13:31:15 CEST 2015
npapi-vlc | branch: cleanup | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr 15 11:15:58 2015 +0200| [1ee9e21e98f1c49ba7e2cc0a35d112df533b0d43] | committer: Hugo Beauzée-Luyssen
activex: Fix MSVC build
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=1ee9e21e98f1c49ba7e2cc0a35d112df533b0d43
---
activex/connectioncontainer.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/activex/connectioncontainer.cpp b/activex/connectioncontainer.cpp
index b906cab..2a9a27f 100644
--- a/activex/connectioncontainer.cpp
+++ b/activex/connectioncontainer.cpp
@@ -98,8 +98,11 @@ public:
private:
EventSystemProxyWnd(HWND hWnd, VLCConnectionPointContainer *pCPC)
- : _hWnd(hWnd), _pCPC(pCPC), _HasUnprocessedNotify(false)
+ : _hWnd(hWnd), _pCPC(pCPC)
{
+ // Initialize this out of members initialization list because MSVC
+ // doesn't implement atomic_int constructor until VS 2015
+ _HasUnprocessedNotify = false;
}
void ProcessNotify();
More information about the vlc-commits
mailing list