From 3804c45ee0d93629b3d1fc0607a1f171032b00b0 Mon Sep 17 00:00:00 2001 From: Nathan Brei Date: Mon, 23 Sep 2024 15:29:27 -0400 Subject: [PATCH] Remove deprecated JParameterManager::PrintParameters(bool,bool,bool) --- src/libraries/JANA/Services/JParameterManager.cc | 16 ---------------- src/libraries/JANA/Services/JParameterManager.h | 3 --- 2 files changed, 19 deletions(-) diff --git a/src/libraries/JANA/Services/JParameterManager.cc b/src/libraries/JANA/Services/JParameterManager.cc index 8ed883bb5..f507bfe1f 100644 --- a/src/libraries/JANA/Services/JParameterManager.cc +++ b/src/libraries/JANA/Services/JParameterManager.cc @@ -93,22 +93,6 @@ void JParameterManager::PrintParameters() { PrintParameters(m_verbosity, m_strictness); } -void JParameterManager::PrintParameters(bool show_defaulted, bool show_advanced, bool warn_on_unused) { - int verbosity = 1; - int strictness = 0; - - if (show_advanced) { - verbosity = 3; - } - else if (show_defaulted) { - verbosity = 2; - } - if (warn_on_unused) { - strictness = 1; - } - PrintParameters(verbosity, strictness); -} - /// @brief Prints parameters to stdout /// diff --git a/src/libraries/JANA/Services/JParameterManager.h b/src/libraries/JANA/Services/JParameterManager.h index f7ed6ced5..6950d9357 100644 --- a/src/libraries/JANA/Services/JParameterManager.h +++ b/src/libraries/JANA/Services/JParameterManager.h @@ -87,9 +87,6 @@ class JParameterManager : public JService { void PrintParameters(int verbosity, int strictness); - [[deprecated]] - void PrintParameters(bool show_defaulted, bool show_advanced=true, bool warn_on_unused=false); - std::map GetAllParameters(); template