Remove cover types.

This commit is contained in:
Jeff Young 2024-06-16 10:47:48 +01:00
parent 5a9b681009
commit 90cd3286fa
1 changed files with 6 additions and 8 deletions

View File

@ -160,10 +160,8 @@ protected:
class APIEXPORT FOOTPRINT_LIST class APIEXPORT FOOTPRINT_LIST
{ {
public: public:
typedef std::vector<std::unique_ptr<FOOTPRINT_INFO>> FPILIST; FOOTPRINT_LIST() :
typedef SYNC_QUEUE<std::unique_ptr<IO_ERROR>> ERRLIST; m_lib_table( nullptr )
FOOTPRINT_LIST() : m_lib_table( nullptr )
{ {
} }
@ -183,7 +181,7 @@ public:
} }
/// Was forced to add this by modview_frame.cpp /// Was forced to add this by modview_frame.cpp
const FPILIST& GetList() const const std::vector<std::unique_ptr<FOOTPRINT_INFO>>& GetList() const
{ {
return m_list; return m_list;
} }
@ -260,10 +258,10 @@ public:
static FOOTPRINT_LIST* GetInstance( KIWAY& aKiway ); static FOOTPRINT_LIST* GetInstance( KIWAY& aKiway );
protected: protected:
FP_LIB_TABLE* m_lib_table; ///< no ownership FP_LIB_TABLE* m_lib_table; ///< no ownership
FPILIST m_list; std::vector<std::unique_ptr<FOOTPRINT_INFO>> m_list;
ERRLIST m_errors; ///< some can be PARSE_ERRORs also SYNC_QUEUE<std::unique_ptr<IO_ERROR>> m_errors; ///< some can be PARSE_ERRORs also
}; };