mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-18 13:14:40 +03:00
C.129: Fix typo in text
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user