1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 18:55:48 +00:00

Merge pull request #1060 from TomHarte/QtErrors

Resolve invalid use of `constexpr` in IPF.cpp.
This commit is contained in:
Thomas Harte 2022-07-05 17:09:05 -04:00 committed by GitHub
commit 18735ee571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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--) {