Removed an incorrect assert in GraphicsCache.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1700 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Baruch Even 2001-03-07 12:43:48 +00:00
parent 98336a5ee6
commit c9196a82ff
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-03-07 Baruch Even <baruch@lyx.org>
* GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
was false and it's not needed anyhow since the shared_ptr's in the cache
will destroy everything on exit.
2001-02-28 Baruch Even <baruch@ev-en.org>
* GraphicsCache.h:

View File

@ -30,8 +30,7 @@ GraphicsCache::getInstance()
GraphicsCache::~GraphicsCache()
{
// The map elements should have already been eliminated.
Assert(cache.empty());
// All elements are destroyed by the shared_ptr's in the map.
}