]> git.mxchange.org Git - simgear.git/commit
Christian M. says it's bad to chain one constructor call from another.
authorcurt <curt>
Tue, 27 Nov 2001 03:17:43 +0000 (03:17 +0000)
committercurt <curt>
Tue, 27 Nov 2001 03:17:43 +0000 (03:17 +0000)
commit2b12425a622d39784a57015e3e72829a12762826
tree43c35c95e4e99c245f5958fab7fae49cac01678a
parentc600aad7a73a0b09399a8cfbc2c3b8057b35f55c
Christian M. says it's bad to chain one constructor call from another.
I can't find anything that addresses this in Stroustrup, but I also don't
see them doing this in any of their examples.  So I have rewritten this
instance to use default arguments to accomplish the same thing.  I imagine
there are other instances of this same sort of thing in other classes to
be fixed at a later date.
simgear/route/waypoint.cxx
simgear/route/waypoint.hxx