Skip to content

Commit 2d07f12

Browse files
Abseil Teamcopybara-github
Abseil Team
authored andcommitted
Fix run-on sentence
dispatch. It will use the definition from the class the constructor of which PiperOrigin-RevId: 421291241 Change-Id: If81e3d6d3774edfbbb4baaec8a3cd96566b3b09c
1 parent aea0874 commit 2d07f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ You may still want to use `SetUp()/TearDown()` in the following cases:
328328

329329
* C++ does not allow virtual function calls in constructors and destructors.
330330
You can call a method declared as virtual, but it will not use dynamic
331-
dispatch, it will use the definition from the class the constructor of which
331+
dispatch. It will use the definition from the class the constructor of which
332332
is currently executing. This is because calling a virtual method before the
333333
derived class constructor has a chance to run is very dangerous - the
334334
virtual method might operate on uninitialized data. Therefore, if you need

0 commit comments

Comments
 (0)