diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-05-19 12:54:41 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-05-19 23:39:20 +0100 |
commit | f3e22baec0290c23654e99bf184153765944f4aa (patch) | |
tree | 56b2b15dc39cf95e0cc107c98008a2878c135cdf /libcpp | |
parent | 8ccdc7ce33f5e7ca509e5b9f835ed4719db21ffd (diff) | |
download | gcc-f3e22baec0290c23654e99bf184153765944f4aa.zip gcc-f3e22baec0290c23654e99bf184153765944f4aa.tar.gz gcc-f3e22baec0290c23654e99bf184153765944f4aa.tar.bz2 |
libstdc++: Only include <ext/atomicity.h> for COW string
Since the COW std::string was moved to its own header, we don't need the
atomic dispatch helpers in the definition of std::__cxx11::string. Move
the inclusion of the <ext/atomicity.h> header to <bits/cow_string.h>
where it's needed.
libstdc++-v3/ChangeLog:
* include/bits/basic_string.h: Do not include <ext/atomicity.h>
here.
* include/bits/cow_string.h: Include it here.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions