We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e41566 commit c1e1426Copy full SHA for c1e1426
engine_details/architecture/common_engine_methods_and_macros.rst
@@ -57,7 +57,7 @@ in a way similar to C's ``sprintf()``:
57
// Converts the resulting String into a `const char *`.
58
// You may need to do this if passing the result as an argument
59
// to a method that expects a `const char *` instead of a String.
60
- vformat("My name is %s.", "Godette").c_str();
+ vformat("My name is %s.", "Godette").utf8().get_data();
61
62
In most cases, try to use ``vformat()`` instead of string concatenation as it
63
makes for more readable code.
0 commit comments