From 236633fd74706f11044ea51306775a43c294da57 Mon Sep 17 00:00:00 2001 From: Benjamin Wu Date: Wed, 13 Aug 2025 10:48:34 -0400 Subject: [PATCH] c++: fix typo in comment gcc/cp/ChangeLog: * lex.cc (init_operators): Fix typo. --- gcc/cp/lex.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/lex.cc b/gcc/cp/lex.cc index b7d2ac62b17..fa377e7783b 100644 --- a/gcc/cp/lex.cc +++ b/gcc/cp/lex.cc @@ -172,7 +172,7 @@ init_operators (void) /* This loop iterates backwards because we need to move the assignment operators down to their correct slots. I.e. morally equivalent to an overlapping memmove where dest > src. Slot - zero is for error_mark, so hae no operator. */ + zero is for error_mark, so has no operator. */ for (unsigned ix = OVL_OP_MAX; --ix;) { ovl_op_info_t *op_ptr = &ovl_op_info[false][ix]; -- 2.47.3