Skip to content

Commit

Permalink
BUG: Print function should be const
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson authored and dzenanz committed Dec 14, 2019
1 parent 5a0c06a commit 5b4eaa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class ITKPolynomials_EXPORT MultivariateLegendrePolynomial
}; // end of class Iterator

void
Print(std::ostream & os);
Print(std::ostream & os) const;

protected:
void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ MultivariateLegendrePolynomial ::MultivariateLegendrePolynomial(unsigned int
MultivariateLegendrePolynomial ::~MultivariateLegendrePolynomial() = default;

void
MultivariateLegendrePolynomial ::Print(std::ostream & os)
MultivariateLegendrePolynomial ::Print(std::ostream & os) const
{
itk::Indent indent(4);

Expand Down

0 comments on commit 5b4eaa2

Please sign in to comment.