Message ID | 54DE06BB.5080000@meil.pw.edu.pl |
---|---|
State | New |
Headers | show |
Hi, On 02/13/2015 03:14 PM, Paweł Tomulik wrote: > Hi, > > the header file <bits/regex.h> of libstdc++-v3 of gcc-4.9 is missing > return statement in the implementation of > basic_regex::assign(basic_regex&&). This is about line 619. In current 4_9-branch, thus for 4.9.3, this is already fixed. Thanks, Paolo.
diff --git a/libstdc++-v3/include/bits/regex.h b/libstdc++-v3/include/bits/regex.h index fe10ceb..af5a414 100644 --- a/libstdc++-v3/include/bits/regex.h +++ b/libstdc++-v3/include/bits/regex.h @@ -623,6 +623,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _M_original_str = std::move(__rhs._M_original_str); __rhs._M_automaton.reset(); this->imbue(__rhs.getloc()); + return *this; } /**