1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-07-29 08:24:28 +00:00

Deploys constexpr as a stricter const.

This commit is contained in:
Thomas Harte
2019-12-22 00:22:17 -05:00
parent a847654ef2
commit 274867579b
37 changed files with 119 additions and 119 deletions

View File

@@ -48,7 +48,7 @@ class DiskII final:
The value returned by @c read_address if accessing that address
didn't cause the disk II to place anything onto the bus.
*/
const int DidNotLoad = -1;
static constexpr int DidNotLoad = -1;
/// Advances the controller by @c cycles.
void run_for(const Cycles cycles);