mirror of
https://github.com/cmosher01/Epple-II.git
synced 2025-01-15 18:30:43 +00:00
double brace array init
This commit is contained in:
parent
e8cdb8975e
commit
76cc7992a9
@ -15,7 +15,7 @@ class MemoryRow {
|
||||
bool power = false;
|
||||
|
||||
/* 8 sockets for memory chips (empty socket represented by MemoryChipEmptySocket) */
|
||||
std::array<MemoryChip,8> chips = {MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket()};
|
||||
std::array<MemoryChip,8> chips = {{MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket(),MemoryChipEmptySocket()}};
|
||||
|
||||
/* bit mask of empty chip sockets */
|
||||
std::uint8_t missing_bits = 0xFFu;
|
||||
|
Loading…
x
Reference in New Issue
Block a user