mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Fixed the errors detected by Travis CI and @jwakely
This commit is contained in:
@@ -7302,7 +7302,7 @@ Contrast with [C.147](#Rh-ptr-cast), where failure is an error, and should not b
|
||||
|
||||
##### Example
|
||||
|
||||
The example below describes a `Shape_owner` that takes ownership of constructed `Shape` objects. The objects are also sorted into views, according to their geometric attributes.
|
||||
The example below describes the `add` method of a `Shape_owner` that takes ownership of constructed `Shape` objects. The objects are also sorted into views, according to their geometric attributes.
|
||||
In this example, `Shape` does not inherit from `Geometric_attributes`. Only its subclasses do.
|
||||
|
||||
void add(Shape* const item)
|
||||
|
||||
Reference in New Issue
Block a user