mirror of
https://github.com/TomHarte/CLK.git
synced 2025-10-31 20:16:07 +00:00
Deploys constexpr as a stricter const.
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#include "ST.hpp"
|
||||
|
||||
namespace {
|
||||
static const int sectors_per_track = 10;
|
||||
static const int sector_size = 2;
|
||||
constexpr int sectors_per_track = 10;
|
||||
constexpr int sector_size = 2;
|
||||
}
|
||||
|
||||
using namespace Storage::Disk;
|
||||
|
||||
Reference in New Issue
Block a user