-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix C++
slint_register_font_from_*
functions regarding to the error…
… string The C++ code already instentiate a `SharedString` on the stack, we are not supposed to ptr::write into it. Lickyly this didn't have any effect because the default constructed string can be leaked without problem, but better be correct. Also aboud temporary String allocation
- Loading branch information
Showing
1 changed file
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters