mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-22 14:30:29 +00:00
This reads the file, so it can't be constexpr
.
This commit is contained in:
parent
7cbee172b2
commit
1ce07e2ee8
@ -25,7 +25,7 @@ constexpr uint32_t block(const char (& src)[5]) {
|
||||
);
|
||||
}
|
||||
|
||||
constexpr size_t block_size(Storage::FileHolder &file, uint8_t header) {
|
||||
size_t block_size(Storage::FileHolder &file, uint8_t header) {
|
||||
uint8_t size_width = header >> 5;
|
||||
size_t length = 0;
|
||||
while(size_width--) {
|
||||
|
Loading…
Reference in New Issue
Block a user