mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-26 03:29:40 +00:00
Deploys constexpr as a stricter const.
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#include "SSD.hpp"
|
||||
|
||||
namespace {
|
||||
static const int sectors_per_track = 10;
|
||||
static const int sector_size = 1;
|
||||
constexpr int sectors_per_track = 10;
|
||||
constexpr int sector_size = 1;
|
||||
}
|
||||
|
||||
using namespace Storage::Disk;
|
||||
|
||||
Reference in New Issue
Block a user