-
Notifications
You must be signed in to change notification settings - Fork 907
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds QType::fromString() which does error checking and throws exceptions when invalid input is provided. Cleans up the anti-pattern that was previously there where you could only construct a QType object from a string by assigning to a dummy one. Also removes access to internals like chartocode which was being used all around in place of that anti-pattern.
- Loading branch information
1 parent
53bcb9f
commit 02dac74
Showing
2 changed files
with
122 additions
and
106 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