Skip to content

Commit

Permalink
Merge pull request #32737 from jfernan2/patch-1
Browse files Browse the repository at this point in the history
DQM: setStatOverflows to use bool
  • Loading branch information
cmsbuild committed Jan 26, 2021
2 parents 98a33f9 + baccbdd commit d0550b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DQMServices/Core/interface/MonitorElement.h
Expand Up @@ -427,7 +427,7 @@ namespace dqm::impl {
virtual void setCanExtend(unsigned int value);
// We should decide if we support this (or make it default)
DQM_DEPRECATED
virtual void setStatOverflows(unsigned int value);
virtual void setStatOverflows(bool value);

// these should be non-const, since they are potentially not thread-safe
virtual TObject const *getRootObject() const;
Expand Down
2 changes: 1 addition & 1 deletion DQMServices/Core/src/MonitorElement.cc
Expand Up @@ -904,7 +904,7 @@ namespace dqm::impl {
access.value.object_->SetCanExtend(value);
}

void MonitorElement::setStatOverflows(unsigned int value) {
void MonitorElement::setStatOverflows(bool value) {
auto access = this->accessMut();
if (value == kTRUE)
access.value.object_->SetStatOverflows(TH1::kConsider);
Expand Down

0 comments on commit d0550b7

Please sign in to comment.