1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:27:45 +00:00

LibRegex: Avoid copying MatchInput when getting argument descriptions

This commit is contained in:
Ali Mohammad Pur 2022-11-03 02:04:22 +03:30 committed by Ali Mohammad Pur
parent 73fcbbb0ee
commit 464ac85a1b
2 changed files with 3 additions and 3 deletions

View file

@ -746,7 +746,7 @@ public:
ALWAYS_INLINE size_t arguments_count() const { return argument(0); }
ALWAYS_INLINE size_t arguments_size() const { return argument(1); }
String arguments_string() const override;
Vector<String> variable_arguments_to_string(Optional<MatchInput> input = {}) const;
Vector<String> variable_arguments_to_string(Optional<MatchInput const&> input = {}) const;
Vector<CompareTypeAndValuePair> flat_compares() const;
static bool matches_character_class(CharClass, u32, bool insensitive);