Pushed to trunk.

-- >8 --

Reported by Jonny Grant.

libstdc++-v3/ChangeLog:

        * include/bits/allocator.h: Fix typo in comment.
---
 libstdc++-v3/include/bits/allocator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/bits/allocator.h 
b/libstdc++-v3/include/bits/allocator.h
index be67789c1cd..abbd753d33d 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.
-- 
2.39.2

Reply via email to