libstdc++: Fix typo in comment
authorJonathan Wakely <jwakely@redhat.com>
Mon, 13 Mar 2023 10:30:12 +0000 (10:30 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 13 Mar 2023 10:32:26 +0000 (10:32 +0000)
Reported by Jonny Grant.

libstdc++-v3/ChangeLog:

* include/bits/allocator.h: Fix typo in comment.

libstdc++-v3/include/bits/allocator.h

index be67789..abbd753 100644 (file)
@@ -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.