1
0
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:
Thomas Harte 2022-03-01 17:30:41 -05:00
parent 8ee62b4789
commit d1148c4cab

View File

@ -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; }
}
}