-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force the initialization of all members of FGPiston.
Investigations with Valgrind revealed that the class FGPiston had uninitialized members but it did not give details about exactly which were uninitialized. This commit therefore uses the C++11 member initialization that allows to specify members initial values directly in the header. Rather through the tedious process of finding which member were initialized and which were not, I have specified initial values for every member of the class; even if it was redundant with the constructors initialization.
- Loading branch information
Showing
1 changed file
with
88 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters