Skip to content

Commit 0ddb27b

Browse files
authored
Replace br element in "Casting" article
1 parent a6c639b commit 0ddb27b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/casting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ ai-usage: ai-assisted
99

1010
In C++, if a class is derived from a base class containing one or more virtual functions, a pointer to that base class type can be used to call virtual functions in the derived class object. A class containing virtual functions is sometimes called a "polymorphic class."
1111

12-
![Diagram of a class hierarchy where C derives from B, which derives from A.](media/vc38zz1.gif "Class hierarchy")<br/>
12+
![Diagram of a class hierarchy where C derives from B, which derives from A.](media/vc38zz1.gif "Class hierarchy")\
1313
Class hierarchy
1414

1515
An object of type `C` can be visualized as follows:
1616

17-
![Diagram of Class C with subobjects B and A.](media/vc38zz2.gif "Class C with subobjects B and A") <br/>
17+
![Diagram of Class C with subobjects B and A.](media/vc38zz2.gif "Class C with subobjects B and A")\
1818
Class C with subobjects B and A
1919

2020
Given an instance of class `C`, there's a `B` subobject and an `A` subobject. The instance of `C`, including the `A` and `B` subobjects, is the "complete object."

0 commit comments

Comments
 (0)