mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Fix C++ build on MSVC
This commit is contained in:
parent
11e55dd8d2
commit
a6dbd0d7fa
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ struct SharedString
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *begin() const { return data(); }
|
const char *begin() const { return data(); }
|
||||||
const char *end() const { return std::string_view(*this).end(); }
|
const char *end() const { return &*std::string_view(*this).end(); }
|
||||||
|
|
||||||
/// Creates a new SharedString from the given number \a n. The string representation of the
|
/// Creates a new SharedString from the given number \a n. The string representation of the
|
||||||
/// number uses a minimal formatting scheme: If \a n has no fractional part, the number will be
|
/// number uses a minimal formatting scheme: If \a n has no fractional part, the number will be
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue