mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
98336a5ee6
commit
c9196a82ff
@ -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:
|
||||
|
@ -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.
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user