-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cellkind number calculation to CellKind.h
Summary: Move the calculation of the number of CellKinds to `CellKind.h` so that we can use it in other headers. Given that it is now a constexpr value, we can simplify the `MetadataStorage` construction to be a `std::array` and initialiser list. Reviewed By: dulinriley Differential Revision: D27991149 fbshipit-source-id: e6d5bb818bca9ee8b332891356c278f5b4aeadd7
- Loading branch information
1 parent
e206637
commit 99199d9
Showing
2 changed files
with
14 additions
and
29 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