aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-03-13 10:30:12 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-03-13 10:32:26 +0000
commita1d4d92d6a306e4142949e16e0cac075519256c7 (patch)
tree9153ff89d336ec6270e61bb6a6487d0b94a0386c
parenteb337d28c32b1b460cc85b3c00f8418ca535c77b (diff)
downloadgcc-a1d4d92d6a306e4142949e16e0cac075519256c7.zip
gcc-a1d4d92d6a306e4142949e16e0cac075519256c7.tar.gz
gcc-a1d4d92d6a306e4142949e16e0cac075519256c7.tar.bz2
libstdc++: Fix typo in comment
Reported by Jonny Grant. libstdc++-v3/ChangeLog: * include/bits/allocator.h: Fix typo in comment.
-rw-r--r--libstdc++-v3/include/bits/allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/allocator.h b/libstdc++-v3/include/bits/allocator.h
index be67789..abbd753 100644
--- a/libstdc++-v3/include/bits/allocator.h
+++ b/libstdc++-v3/include/bits/allocator.h
@@ -62,7 +62,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
// Since C++20 the primary template should be used for allocator<void>,
// but then it would have a non-trivial default ctor and dtor for C++20,
- // but trivial for C++98-17, which would be an ABI incompatibiliy between
+ // but trivial for C++98-17, which would be an ABI incompatibility between
// different standard dialects. So C++20 still uses the allocator<void>
// explicit specialization, with the historical ABI properties, but with
// the same members that are present in the primary template.