[Kstars-devel] Remove KStarsData from KSPlanetBase and subclasses

Khudyakov Alexey alexey.skladnoy at gmail.com
Thu Jun 4 13:38:31 CEST 2009


Hello

Since KStarsData is singleton there is no need to carry pointer to it in KSPlanetBase and its subclasses. 

Proposed change consists in removal of KStarsData* field from KSPlanetBase, KSAsteroids, KSComet and removal KStarsData* parameter from constructors.

However extensive this change may appear it's difficult to do wrong because of compiler checks. 
--
  Khudyakov Alexey


More information about the Kstars-devel mailing list