mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 01:31:42 +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