mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 04:45:13 +00:00
formating
This commit is contained in:
parent
7b8df5ca9d
commit
ec8baa81f2
4 changed files with 21 additions and 22 deletions
|
@ -28,7 +28,11 @@ struct SharedString
|
|||
internal::sixtyfps_shared_string_from_bytes(this, s.data(), s.size());
|
||||
return *this;
|
||||
}
|
||||
SharedString &operator=(SharedString &&other) { std::swap(inner, other.inner); return *this; }
|
||||
SharedString &operator=(SharedString &&other)
|
||||
{
|
||||
std::swap(inner, other.inner);
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator std::string_view() const { return internal::sixtyfps_shared_string_bytes(this); }
|
||||
auto data() const -> const char * { return internal::sixtyfps_shared_string_bytes(this); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue