diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-03-02 16:50:24 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-03-02 16:50:24 +0000 |
commit | e59a2e945eaaefc35355a4b8cc301981ab131e9e (patch) | |
tree | ed74282add8abefdc7e0e5e4ea91aca6244f58d7 /libstdc++-v3/include/std/stdexcept | |
parent | d366a1a795d7b5c40abc3efae2dcc12e9e324b01 (diff) | |
download | gcc-e59a2e945eaaefc35355a4b8cc301981ab131e9e.zip gcc-e59a2e945eaaefc35355a4b8cc301981ab131e9e.tar.gz gcc-e59a2e945eaaefc35355a4b8cc301981ab131e9e.tar.bz2 |
re PR libstdc++/64367 (g++-v5/stdexcept:52:28: error: invalid use of non-static data member '_M_p')
PR libstdc++/64367
* include/std/stdexcept (__sso_string): Don't use non-static member
in sizeof.
From-SVN: r221118
Diffstat (limited to 'libstdc++-v3/include/std/stdexcept')
-rw-r--r-- | libstdc++-v3/include/std/stdexcept | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/stdexcept b/libstdc++-v3/include/std/stdexcept index bf3e618..2428919 100644 --- a/libstdc++-v3/include/std/stdexcept +++ b/libstdc++-v3/include/std/stdexcept @@ -80,7 +80,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION union { __str _M_s; - char _M_bytes[sizeof(_M_s)]; + char _M_bytes[sizeof(__str)]; }; __sso_string() _GLIBCXX_USE_NOEXCEPT; |