Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Automated Detection

Compass/ROSE could can detect most violations of this rule by flagging any variable as a violation as long as:

...

recommendation.

Risk Assessment

Failing to const-qualify immutable objects can result in a constant being modified at runtime.

...