From 3a0f56f2b22524041fb87e0d99ebad2c5d2969ea Mon Sep 17 00:00:00 2001 From: Iron Prando da Silva Date: Tue, 8 Mar 2022 09:50:09 +0100 Subject: [PATCH] Removed throw from ConfigurationFactory::possiblePhases. --- .../configurations/configurationfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DRAMSys/traceAnalyzer/businessObjects/dramTimeDependencies/configurations/configurationfactory.cpp b/DRAMSys/traceAnalyzer/businessObjects/dramTimeDependencies/configurations/configurationfactory.cpp index 0c5036ef..e75607f0 100644 --- a/DRAMSys/traceAnalyzer/businessObjects/dramTimeDependencies/configurations/configurationfactory.cpp +++ b/DRAMSys/traceAnalyzer/businessObjects/dramTimeDependencies/configurations/configurationfactory.cpp @@ -64,8 +64,8 @@ const std::vector ConfigurationFactory::possiblePhases(const TraceDB& t } else { // TODO maybe throw? - throw std::invalid_argument("Could not find the device type '" + deviceName.toStdString() + '\''); - + // throw std::invalid_argument("Could not find the device type '" + deviceName.toStdString() + '\''); + return {""}; } }