From 0f4bffc3a42f5d36a97560163c42c4163b709387 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Sun, 21 May 2023 21:49:26 +0200 Subject: [PATCH] RealDataPresenter: some throw -> ASSERT --- GUI/View/Import/RealDataPresenter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GUI/View/Import/RealDataPresenter.cpp b/GUI/View/Import/RealDataPresenter.cpp index 6a32a875fb9..d9456d07657 100644 --- a/GUI/View/Import/RealDataPresenter.cpp +++ b/GUI/View/Import/RealDataPresenter.cpp @@ -62,7 +62,6 @@ QStringList RealDataPresenter::activePresentationList() const result << "Reflectometry (Configuration)"; result << "Reflectometry (Graph only)"; } else - throw std::runtime_error( - "Error in RealDataPresenter::activePresentationList: unsupported data type"); + ASSERT(false); return result; } -- GitLab