mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
AK+LibRegex: Disable construction of views from temporary Strings
This commit is contained in:
parent
e606ff3751
commit
e8f6840471
3 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,8 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
explicit RegexStringView(String&&) = delete;
|
||||
|
||||
StringView const& string_view() const
|
||||
{
|
||||
return m_view.get<StringView>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue