summaryrefslogtreecommitdiffstats
path: root/libcxx/include/regex
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2016-08-07 22:23:24 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2016-08-07 22:23:24 +0000
commitfaf3149df62ab1f98e21526b68686a7c62a11062 (patch)
tree14e836ad38309ba92dc3a202f59268aad26a60fa /libcxx/include/regex
parent614c406f9e39cb13cc825e28458b9e2b71535b6b (diff)
downloadbcm5719-llvm-faf3149df62ab1f98e21526b68686a7c62a11062.tar.gz
bcm5719-llvm-faf3149df62ab1f98e21526b68686a7c62a11062.zip
Revert r277966. Forgot patch attribution.
llvm-svn: 277967
Diffstat (limited to 'libcxx/include/regex')
-rw-r--r--libcxx/include/regex4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/regex b/libcxx/include/regex
index 42f3dbb417d..b223e63c8b5 100644
--- a/libcxx/include/regex
+++ b/libcxx/include/regex
@@ -147,7 +147,7 @@ public:
// construct/copy/destroy:
basic_regex();
explicit basic_regex(const charT* p, flag_type f = regex_constants::ECMAScript);
- basic_regex(const charT* p, size_t len, flag_type f = regex_constants::ECMAScript);
+ basic_regex(const charT* p, size_t len, flag_type f);
basic_regex(const basic_regex&);
basic_regex(basic_regex&&) noexcept;
template <class ST, class SA>
@@ -2519,7 +2519,7 @@ public:
__end_(0)
{__parse(__p, __p + __traits_.length(__p));}
_LIBCPP_INLINE_VISIBILITY
- basic_regex(const value_type* __p, size_t __len, flag_type __f = regex_constants::ECMAScript)
+ basic_regex(const value_type* __p, size_t __len, flag_type __f)
: __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0),
__end_(0)
{__parse(__p, __p + __len);}
OpenPOWER on IntegriCloud