Fix multiple definition issue

This commit is contained in:
Leonetienne 2022-05-27 03:30:11 +02:00
parent 0e47b11a2c
commit 0a248b6d86
No known key found for this signature in database
GPG Key ID: C33879CD92E9708C

View File

@ -12,7 +12,7 @@
// Here's how to calculate these numbers: // Here's how to calculate these numbers:
// Print an all 1's block in this format, and check the string size. // Print an all 1's block in this format, and check the string size.
// That's it. // That's it.
auto blockLengthByBase = static auto blockLengthByBase =
std::map<Configuration::IOBASE_FORMAT, std::size_t>({ std::map<Configuration::IOBASE_FORMAT, std::size_t>({
std::make_pair(Configuration::IOBASE_FORMAT::BASE_BYTES, 64), std::make_pair(Configuration::IOBASE_FORMAT::BASE_BYTES, 64),
std::make_pair(Configuration::IOBASE_FORMAT::BASE_2, 512), std::make_pair(Configuration::IOBASE_FORMAT::BASE_2, 512),