Make enums into implicit char
This commit is contained in:
parent
fa998178e9
commit
ecddd2a655
10 changed files with 33 additions and 34 deletions
|
|
@ -40,7 +40,7 @@
|
|||
#include "vector_3.h"
|
||||
#endif
|
||||
|
||||
enum BlockFlagBit {
|
||||
enum BlockFlagBit : char {
|
||||
// Recalculate trapezoids on entry junction. For optimization.
|
||||
BLOCK_BIT_RECALCULATE,
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ enum BlockFlagBit {
|
|||
BLOCK_BIT_CONTINUED
|
||||
};
|
||||
|
||||
enum BlockFlag {
|
||||
enum BlockFlag : char {
|
||||
BLOCK_FLAG_RECALCULATE = _BV(BLOCK_BIT_RECALCULATE),
|
||||
BLOCK_FLAG_NOMINAL_LENGTH = _BV(BLOCK_BIT_NOMINAL_LENGTH),
|
||||
BLOCK_FLAG_BUSY = _BV(BLOCK_BIT_BUSY),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue