Skip to content
Snippets Groups Projects

Make the changeGrid function behave like a call-by-value function

Merged Ferdinand Fischer requested to merge changeGrid into master

Because of the handle functions, the changeGrid function changes the grid of the original quantity object. This is very unecpected, for me it is more common to see an object with a changed grid as a new object. Thus, I recommend to change the behaviour of this function to generate new objects.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading