mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Switch to constexpr function, for guaranteed semantics.
This commit is contained in:
parent
8ee62b4789
commit
d1148c4cab
@ -19,7 +19,7 @@ enum class Model {
|
||||
i80386,
|
||||
};
|
||||
|
||||
#define is_32bit(model) (model >= Model::i80386)
|
||||
static constexpr bool is_32bit(Model model) { return model >= Model::i80386; }
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user