Skip to content
Commit 92e6284a authored by Akarsh Simha's avatar Akarsh Simha
Browse files

Changing the definition of StarObject::JITUpdate() from JITUpdate(

KStarsData * ) to JITUpdate( void )

This is more efficient since there's one less argument to keep passing
around.

Instead JITUpdate gets its access to data from KStarsData::Instance().

I've made data within JITUpdate static. This could be a problem if
KStarsData is ever destroyed or recreated before the program
terminates! But that should not happen anyway, because it's going to
set a whole bunch of other things haywire as well.

Otherwise, this should introduce no bugs.

CCMAIL: kstars-devel@kde.org
parent c1cfeb41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment