Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaned-up Map::cases. #37

Merged

Conversation

stephanemagnenat
Copy link
Contributor

This PR updates Map::cases to modern C++, using std::vector for storage and (const) reference when accessing it. The changes are not pedantic for using the cleanest modern patterns, but rather pragmatic to improve code readability, maintainability and type safety while having somewhat minimal changes at that point.

Any wants to review and comments and this new style is welcome.

@stephanemagnenat stephanemagnenat merged commit fa35a6e into Globulation2:master Feb 16, 2021
@stephanemagnenat stephanemagnenat deleted the cleanup/map-case branch February 16, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant