mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
C.129: Fix typo in text
This commit is contained in:
parent
434f995679
commit
fc0999c56e
|
@ -6204,7 +6204,7 @@ The importance of keeping the two kinds of inheritance increases
|
||||||
|
|
||||||
Problems:
|
Problems:
|
||||||
|
|
||||||
* As the hierarchy grows and more data is adder to `Shape`, the constructors gets harder to write and maintain.
|
* As the hierarchy grows and more data is added to `Shape`, the constructors gets harder to write and maintain.
|
||||||
* Why calculate the center for the `Triangle`? we may never us it.
|
* Why calculate the center for the `Triangle`? we may never us it.
|
||||||
* Add a data member to `Shape` (e.g., drawing style or canvas)
|
* Add a data member to `Shape` (e.g., drawing style or canvas)
|
||||||
and all derived classes and all users needs to be reviewed, possibly changes, and probably recompiled.
|
and all derived classes and all users needs to be reviewed, possibly changes, and probably recompiled.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user