summaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index c21d4411a02..63e2cf74666 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -1027,7 +1027,7 @@ add_method (tree type, tree method)
VEC_quick_insert (tree, method_vec, slot, overload);
}
else
- /* Replace the current slot. */
+ /* Replace the current slot. */
VEC_replace (tree, method_vec, slot, overload);
}
@@ -4068,7 +4068,7 @@ check_bases_and_members (tree t)
TYPE_HAS_COMPLEX_ASSIGN_REF (t)
|= TYPE_HAS_ASSIGN_REF (t) || TYPE_CONTAINS_VPTR_P (t);
- /* Synthesize any needed methods. */
+ /* Synthesize any needed methods. */
add_implicitly_declared_members (t, cant_have_default_ctor,
cant_have_const_ctor,
no_const_asn_ref);