]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Remove public std::vector<bool>::data() member
authorJonathan Wakely <jwakely@redhat.com>
Thu, 11 Nov 2021 13:02:16 +0000 (13:02 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 11 Nov 2021 18:16:17 +0000 (18:16 +0000)
commitef0e100f5870bbb792f378858864f915696dd232
tree1e8384867f7dd146d30cfe137fd73bf91d1ff667
parentdc002e31fb2d001703278263ea3d1cef366018ae
libstdc++: Remove public std::vector<bool>::data() member

This function only exists to avoid an error in the debug mode vector, so
doesn't need to be public.

libstdc++-v3/ChangeLog:

* include/bits/stl_bvector.h (vector<bool>::data()): Give
protected access, and delete for C++11 and later.
libstdc++-v3/include/bits/stl_bvector.h
This page took 0.05991 seconds and 6 git commands to generate.