-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use templates for FGPropertyManager::Tie of a pointer.
According to the comments this method was instanciated manually for all types of pointers because otherwise it was confusing compilers. Well, it seems modern compilers can resolve the ambiguity so we can now use templates to avoid code duplication. Took this opportunity to use nullptr instead of 0 in other templates.
- Loading branch information
Showing
2 changed files
with
57 additions
and
222 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
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