-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate compilation conditionals around types
By writing a static method `GetTypeInfo` that just returns the passed in type when `SIMPLE_JSON_TYPEINFO == false` we can use the same code for both values of the conditional compilation constant `SIMPLE_JSON_TYPEINFO`.
- Loading branch information
Showing
1 changed file
with
19 additions
and
28 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