-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes the unnecessary construction of a separate (thread-safe!) container of pairs and the associated memory leaks. It also explicitly makes the enum's underlying type a four-byte signed int. Redundant code from the overload which computes the enum values was replaced by using std::iota and calling the three-argument createEnum.
- Loading branch information
Tim Haines
committed
Nov 24, 2021
1 parent
424ee54
commit 338b78e
Showing
3 changed files
with
19 additions
and
27 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
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