aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-02-04 21:39:11 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-02-08 21:32:42 +0000
commit4e5dc6d9686a34d446147b923fe838389758a512 (patch)
tree60df200ae6258d0f7cde4a819a7d2283cf073d10 /gcc
parent232ffb61ceb63c4a86a8bc67f1db989c2124db5f (diff)
downloadgcc-4e5dc6d9686a34d446147b923fe838389758a512.zip
gcc-4e5dc6d9686a34d446147b923fe838389758a512.tar.gz
gcc-4e5dc6d9686a34d446147b923fe838389758a512.tar.bz2
libstdc++: Add comment to gslice::operator=(const gslice&) [PR100147]
There's no need to check for self-assignment here, it would just add extra code for an unlikely case. Add a comment saying so. libstdc++-v3/ChangeLog: PR libstdc++/100147 * include/bits/gslice.h (operator=): Add comment about lack of self-assignment check.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions