1
0
Fork 0

Make FGViewer::update() a pure virtual because FGViewer is a base class

and can never be instantiated itself.
This commit is contained in:
curt 2001-05-31 04:25:43 +00:00
parent cecd0df78d
commit 54a0e1cf52
2 changed files with 3 additions and 3 deletions

View file

@ -116,7 +116,7 @@ protected:
inline void set_clean() { dirty = false; } inline void set_clean() { dirty = false; }
// Update the view volume, position, and orientation // Update the view volume, position, and orientation
virtual void update(); virtual void update() = 0;
public: public:

View file

@ -67,9 +67,9 @@ void FGNewCache::entry_free( long cache_index ) {
FGTileEntry *tile = tile_cache[cache_index]; FGTileEntry *tile = tile_cache[cache_index];
tile->disconnect_ssg_nodes(); tile->disconnect_ssg_nodes();
#ifdef WISH_PLIB_WAS_THREADED #ifdef WISH_PLIB_WAS_THREADED // but it isn't
tile->sched_removal(); tile->sched_removal();
#else // plib isn't threaded so we always go here #else
tile->free_tile(); tile->free_tile();
delete tile; delete tile;
#endif #endif