Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 30c851a

Browse files
committed
add to c_str on std::string parameter
1 parent ab5ae17 commit 30c851a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
errorWithCode:@"unregistered_view_type"
144144
message:[NSString stringWithFormat:@"A UIKitView widget is trying to create a "
145145
@"PlatformView with an unregistered type: < %s >",
146-
viewType]
146+
viewType.c_str()]
147147
details:@"If you are the author of the PlatformView, make sure `registerViewFactory`"
148148
@"is invoked.\n"
149149
@"See: "

0 commit comments

Comments
 (0)