From 3be950e70467228435a54033f7b5ef6b3794f0b1 Mon Sep 17 00:00:00 2001 From: Johannes Feldmann Date: Tue, 27 Mar 2018 10:17:29 +0200 Subject: [PATCH] Added missing breaks in switch cases. --- DRAMSys/library/src/common/AddressDecoder.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DRAMSys/library/src/common/AddressDecoder.cpp b/DRAMSys/library/src/common/AddressDecoder.cpp index a473b442..938129c8 100644 --- a/DRAMSys/library/src/common/AddressDecoder.cpp +++ b/DRAMSys/library/src/common/AddressDecoder.cpp @@ -17,8 +17,10 @@ void CAddressDecoder::createInstance(Type t) { case Type::XML: m_pInstance = new xmlAddressDecoder; + break; case Type::JSON: m_pInstance = new JSONAddressDecoder; + break; } }