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

Use only enough bits in an enum as necessary. #14137

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions include/deal.II/base/geometry_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ struct RefinementPossibilities
* local coordinate system within the global coordinate system of the
* space it lives in.
*/
enum Possibilities
enum Possibilities : std::uint8_t
{
/**
* Do not perform refinement.
Expand Down Expand Up @@ -590,7 +590,7 @@ struct RefinementPossibilities<1>
* local coordinate system within the global coordinate system of the
* space it lives in.
*/
enum Possibilities
enum Possibilities : std::uint8_t
{
/**
* Do not refine.
Expand Down Expand Up @@ -656,7 +656,7 @@ struct RefinementPossibilities<2>
* local coordinate system within the global coordinate system of the
* space it lives in.
*/
enum Possibilities
enum Possibilities : std::uint8_t
{
/**
* Do not refine.
Expand Down Expand Up @@ -731,7 +731,7 @@ struct RefinementPossibilities<3>
* local coordinate system within the global coordinate system of the
* space it lives in.
*/
enum Possibilities
enum Possibilities : std::uint8_t
{
/**
* Do not refine.
Expand Down