mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 14:37:45 +00:00
LibRegex: Remove some meaningless/useless const-qualifiers
Also replace String creation from `""` with `String::empty()`
This commit is contained in:
parent
ca69ded9a5
commit
5885e70df7
4 changed files with 30 additions and 30 deletions
|
@ -451,7 +451,7 @@ public:
|
|||
Match() = default;
|
||||
~Match() = default;
|
||||
|
||||
Match(RegexStringView const view_, size_t const line_, size_t const column_, size_t const global_offset_)
|
||||
Match(RegexStringView view_, size_t const line_, size_t const column_, size_t const global_offset_)
|
||||
: view(view_)
|
||||
, line(line_)
|
||||
, column(column_)
|
||||
|
@ -460,7 +460,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
Match(String const string_, size_t const line_, size_t const column_, size_t const global_offset_)
|
||||
Match(String string_, size_t const line_, size_t const column_, size_t const global_offset_)
|
||||
: string(move(string_))
|
||||
, view(string.value().view())
|
||||
, line(line_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue