-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This simply makes all `Index` setters take `size_t` instead of `Index::Type`. The added benefit is that the cast is done once inside the `Index` class, instead of being done everywhere the setter is called. Thus, the check that the primitive count and first index value are representable also happens once in the same place.
- Loading branch information
Showing
1 changed file
with
11 additions
and
8 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