From 2ca86d4688a7c9773d2b8a7bde6d3b131f2ca3df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A0rius=20Mont=C3=B3n?= Date: Fri, 15 Jan 2021 15:16:56 +0100 Subject: [PATCH] array init --- inc/Registers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/Registers.h b/inc/Registers.h index 210d15d..c09af89 100644 --- a/inc/Registers.h +++ b/inc/Registers.h @@ -245,7 +245,7 @@ private: /** * bank of registers (32 regs of 32bits each) */ - std::array register_bank = {0}; + std::array register_bank = { {0} }; /** * Program counter (32 bits width)