From 54a0e1cf52be4b012c5aff638b08def422a624b2 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 31 May 2001 04:25:43 +0000 Subject: [PATCH] Make FGViewer::update() a pure virtual because FGViewer is a base class and can never be instantiated itself. --- src/Main/viewer.hxx | 2 +- src/Scenery/newcache.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main/viewer.hxx b/src/Main/viewer.hxx index 8c9a93116..4e74425f0 100644 --- a/src/Main/viewer.hxx +++ b/src/Main/viewer.hxx @@ -116,7 +116,7 @@ protected: inline void set_clean() { dirty = false; } // Update the view volume, position, and orientation - virtual void update(); + virtual void update() = 0; public: diff --git a/src/Scenery/newcache.cxx b/src/Scenery/newcache.cxx index a93c93677..b9ffb038f 100644 --- a/src/Scenery/newcache.cxx +++ b/src/Scenery/newcache.cxx @@ -67,9 +67,9 @@ void FGNewCache::entry_free( long cache_index ) { FGTileEntry *tile = tile_cache[cache_index]; tile->disconnect_ssg_nodes(); -#ifdef WISH_PLIB_WAS_THREADED +#ifdef WISH_PLIB_WAS_THREADED // but it isn't tile->sched_removal(); -#else // plib isn't threaded so we always go here +#else tile->free_tile(); delete tile; #endif