Remove overly-strict assert.

Fixes: lp:1773807
* https://bugs.launchpad.net/kicad/+bug/1773807
This commit is contained in:
Jeff Young 2018-05-28 20:36:39 +01:00
parent a8db21319f
commit f914558e7b
1 changed files with 0 additions and 2 deletions

View File

@ -221,7 +221,6 @@ bool LIB_MANAGER::SaveLibrary( const wxString& aLibrary, const wxString& aFileNa
bool LIB_MANAGER::IsLibraryModified( const wxString& aLibrary ) const
{
wxCHECK( LibraryExists( aLibrary ), false );
auto it = m_libs.find( aLibrary );
return it != m_libs.end() ? it->second.IsModified() : false;
}
@ -229,7 +228,6 @@ bool LIB_MANAGER::IsLibraryModified( const wxString& aLibrary ) const
bool LIB_MANAGER::IsPartModified( const wxString& aAlias, const wxString& aLibrary ) const
{
wxCHECK( LibraryExists( aLibrary ), false );
auto libIt = m_libs.find( aLibrary );
if( libIt == m_libs.end() )