Candidates for const

I’m trying to wrap my head around the use of const. My understanding is that it should be used for any class function that does not change class’ members. Wouldn’t then several of the functions in the TankAimingComponent class be a candidate for const? Is there a particular reason why const is not used, or did Ben just forget?

I’m going with @ben forgot.

I hope so, or else I would have to revisit that topic :slight_smile:

Human moment I’m afraid.

1 Like

Privacy & Terms