mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Merge pull request #1060 from TomHarte/QtErrors
Resolve invalid use of `constexpr` in IPF.cpp.
This commit is contained in:
commit
18735ee571
@ -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;
|
uint8_t size_width = header >> 5;
|
||||||
size_t length = 0;
|
size_t length = 0;
|
||||||
while(size_width--) {
|
while(size_width--) {
|
||||||
|
Loading…
Reference in New Issue
Block a user