diff options
author | Abseil Team <absl-team@google.com> | 2022-01-12 15:19:16 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-01-12 15:19:51 (GMT) |
commit | 2d07f12b607c528b21795ab672cff3afaf64f7a1 (patch) | |
tree | 8a075727b1f2f1bff484bd775b21230f8066b955 | |
parent | aea0874c4252d47d1da096ad763b9c04b42c8514 (diff) | |
download | googletest-2d07f12b607c528b21795ab672cff3afaf64f7a1.zip googletest-2d07f12b607c528b21795ab672cff3afaf64f7a1.tar.gz googletest-2d07f12b607c528b21795ab672cff3afaf64f7a1.tar.bz2 |
Fix run-on sentence
dispatch. It will use the definition from the class the constructor of which
PiperOrigin-RevId: 421291241
Change-Id: If81e3d6d3774edfbbb4baaec8a3cd96566b3b09c
-rw-r--r-- | docs/faq.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/faq.md b/docs/faq.md index 8e4fd5e..b2db186 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -328,7 +328,7 @@ You may still want to use `SetUp()/TearDown()` in the following cases: * C++ does not allow virtual function calls in constructors and destructors. You can call a method declared as virtual, but it will not use dynamic - dispatch, it will use the definition from the class the constructor of which + dispatch. It will use the definition from the class the constructor of which is currently executing. This is because calling a virtual method before the derived class constructor has a chance to run is very dangerous - the virtual method might operate on uninitialized data. Therefore, if you need |