[Bf-blender-cvs] [7951ec26411] blender-v2.83-release: Cleanup: Fix warning about initialization order with MSVC
Ray Molenkamp
noreply at git.blender.org
Mon Apr 27 21:01:02 CEST 2020
Commit: 7951ec264114c688df5d4204b65b77ac7889d819
Author: Ray Molenkamp
Date: Mon Apr 27 13:00:53 2020 -0600
Branches: blender-v2.83-release
https://developer.blender.org/rB7951ec264114c688df5d4204b65b77ac7889d819
Cleanup: Fix warning about initialization order with MSVC
===================================================================
M intern/ghost/intern/GHOST_WindowWin32.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp
index b0ba7b6befb..8b95cdd6351 100644
--- a/intern/ghost/intern/GHOST_WindowWin32.cpp
+++ b/intern/ghost/intern/GHOST_WindowWin32.cpp
@@ -72,6 +72,7 @@ GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 *system,
bool is_debug,
bool dialog)
: GHOST_Window(width, height, state, wantStereoVisual, false),
+ m_tabletInRange(false),
m_inLiveResize(false),
m_system(system),
m_hDC(0),
@@ -86,8 +87,7 @@ GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 *system,
m_fpGetPointerPenInfoHistory(NULL),
m_fpGetPointerTouchInfoHistory(NULL),
m_parentWindowHwnd(parentwindow ? parentwindow->m_hWnd : NULL),
- m_debug_context(is_debug),
- m_tabletInRange(false)
+ m_debug_context(is_debug)
{
// Initialize tablet variables
memset(&m_wintab, 0, sizeof(m_wintab));
More information about the Bf-blender-cvs
mailing list