Fix run-on sentence
dispatch. It will use the definition from the class the constructor of which PiperOrigin-RevId: 421291241 Change-Id: If81e3d6d3774edfbbb4baaec8a3cd96566b3b09c
This commit is contained in:
		
				
					committed by
					
						
						Copybara-Service
					
				
			
			
				
	
			
			
			
						parent
						
							aea0874c42
						
					
				
				
					commit
					2d07f12b60
				
			@@ -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.
 | 
					*   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
 | 
					    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
 | 
					    is currently executing. This is because calling a virtual method before the
 | 
				
			||||||
    derived class constructor has a chance to run is very dangerous - the
 | 
					    derived class constructor has a chance to run is very dangerous - the
 | 
				
			||||||
    virtual method might operate on uninitialized data. Therefore, if you need
 | 
					    virtual method might operate on uninitialized data. Therefore, if you need
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user