Skip to content

Commit

Permalink
Address Alex's review
Browse files Browse the repository at this point in the history
Add constness to a status-getter

Co-authored-by: Alex Lindsay <[email protected]>
  • Loading branch information
GiudGiud and lindsayad authored Nov 22, 2024
1 parent ce6c221 commit eb31f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion framework/include/problems/SubProblem.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class SubProblem : public Problem
* @returns false if the tag is not within the set of vectors that are
* intended to not be zero or if the set is empty. returns true otherwise
*/
bool vectorTagNotZeroed(const TagID tag);
bool vectorTagNotZeroed(const TagID tag) const;

/**
* Get a VectorTag from a TagID.
Expand Down
2 changes: 1 addition & 1 deletion framework/src/problems/SubProblem.C
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ SubProblem::addNotZeroedVectorTag(const TagID tag)
}

bool
SubProblem::vectorTagNotZeroed(const TagID tag)
SubProblem::vectorTagNotZeroed(const TagID tag) const
{
return _not_zeroed_tagged_vectors.count(tag);
}
Expand Down

0 comments on commit eb31f3f

Please sign in to comment.