[Bf-blender-cvs] [24024f09c7c] master: ghost/windows: Fix Build warnings with MSVC.

Ray Molenkamp noreply at git.blender.org
Sat May 25 20:58:17 CEST 2019


Commit: 24024f09c7c664a82fbdefde76553fb8c2046994
Author: Ray Molenkamp
Date:   Sat May 25 12:58:14 2019 -0600
Branches: master
https://developer.blender.org/rB24024f09c7c664a82fbdefde76553fb8c2046994

ghost/windows: Fix Build warnings with MSVC.

The order of the initializers did not follow the order they were
declared in the class definition leading to warning C5038

===================================================================

M	intern/ghost/intern/GHOST_ImeWin32.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_ImeWin32.cpp b/intern/ghost/intern/GHOST_ImeWin32.cpp
index 9ad12cb0e63..104b0f67c77 100644
--- a/intern/ghost/intern/GHOST_ImeWin32.cpp
+++ b/intern/ghost/intern/GHOST_ImeWin32.cpp
@@ -31,9 +31,9 @@
 #  include "utfconv.h"
 
 GHOST_ImeWin32::GHOST_ImeWin32()
-    : ime_status_(false),
+    : is_composing_(false),
+      ime_status_(false),
       input_language_id_(LANG_USER_DEFAULT),
-      is_composing_(false),
       system_caret_(false),
       caret_rect_(-1, -1, 0, 0),
       is_first(true),



More information about the Bf-blender-cvs mailing list