Manager+Util: Change enum class type from int to uint8_t (4 -> 1 byte)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
// https://www.rfc-editor.org/rfc/pdfrfc/rfc8259.txt.pdf
|
||||
|
||||
#include <cstddef> // size_t
|
||||
#include <cstdint> // uint8_t
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -20,7 +21,7 @@ namespace Util::JSON {
|
||||
class Job;
|
||||
|
||||
struct Token {
|
||||
enum class Type {
|
||||
enum class Type : uint8_t {
|
||||
None,
|
||||
BraceOpen, // {
|
||||
BraceClose, // }
|
||||
|
||||
Reference in New Issue
Block a user