diff options
Diffstat (limited to 'include/regex')
-rw-r--r-- | include/regex | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/regex b/include/regex index 7bc08a83c..9a8898331 100644 --- a/include/regex +++ b/include/regex @@ -2608,9 +2608,7 @@ public: assign(_ForwardIterator __first, _ForwardIterator __last, flag_type __f = regex_constants::ECMAScript) { - __member_init(__f); - __parse(__first, __last); - return *this; + return assign(basic_regex(__first, __last, __f)); } #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS |