Skip to content

Commit c53269e

Browse files
committed
[[ Bug 23224 ]] Fix compile error when building iOS with Xcode12.5
This patch fixes the following compile error when building the iOS engines with Xcode 12.5: /Users/administrator/Vulcan/slaves/build-mac-5-1/slave/try-community-universal-ios-iphoneos14_4/checkout/engine/src/mblhandlers.cpp:4845:3: error: type 'nullptr_t' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing] {nil, nil, nil} ^~~
1 parent 43ccc48 commit c53269e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/mblhandlers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4842,7 +4842,7 @@ static const MCPlatformMessageSpec s_platform_messages[] =
48424842
{false, "mobileSetKeyboardDisplay", MCHandleSetKeyboardDisplay, nil},
48434843
{false, "mobileGetKeyboardDisplay", MCHandleGetKeyboardDisplay, nil},
48444844

4845-
{nil, nil, nil}
4845+
{false, nil, nil}
48464846
};
48474847

48484848
bool MCIsPlatformMessage(MCNameRef handler_name)

0 commit comments

Comments
 (0)