Skip to content

Commit

Permalink
Remove deprecated JParameterManager::PrintParameters(bool,bool,bool)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Sep 23, 2024
1 parent 5e6c10c commit 3804c45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
16 changes: 0 additions & 16 deletions src/libraries/JANA/Services/JParameterManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down
3 changes: 0 additions & 3 deletions src/libraries/JANA/Services/JParameterManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string, JParameter*> GetAllParameters();

template<typename T>
Expand Down

0 comments on commit 3804c45

Please sign in to comment.