From 072e379ffe7f0d8adc2ac0eb700abfd7c27d8278 Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Thu, 14 Sep 2017 13:49:11 -0400 Subject: Renamed function arguments to keep them consistent between declaration and implementation --- modules/regex/regex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/regex') diff --git a/modules/regex/regex.h b/modules/regex/regex.h index 0d97bcce54..bfa9c84042 100644 --- a/modules/regex/regex.h +++ b/modules/regex/regex.h @@ -87,8 +87,8 @@ public: Error compile(const String &p_pattern); void _init(const String &p_pattern = ""); - Ref search(const String &p_subject, int offset = 0, int end = -1) const; - String sub(const String &p_subject, const String &p_replacement, bool p_all = false, int p_start = 0, int p_end = -1) const; + Ref search(const String &p_subject, int p_offset = 0, int p_end = -1) const; + String sub(const String &p_subject, const String &p_replacement, bool p_all = false, int p_offset = 0, int p_end = -1) const; bool is_valid() const; String get_pattern() const; -- cgit v1.2.3