mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 21:00:55 -04:00
Small tweak to rml_string
This commit is contained in:
@@ -65,7 +65,7 @@ static Rml::Property rml_number(float value) {
|
||||
return Rml::Property(value, Rml::Unit::NUMBER);
|
||||
}
|
||||
|
||||
static Rml::Property rml_string(std::string_view value) {
|
||||
return Rml::Property(Rml::String(value), Rml::Unit::STRING);
|
||||
static Rml::Property rml_string(Rml::String value) {
|
||||
return Rml::Property(std::move(value), Rml::Unit::STRING);
|
||||
}
|
||||
} // namespace dusk::ui
|
||||
|
||||
Reference in New Issue
Block a user