mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
build: fixes
This commit is contained in:
parent
e957d10098
commit
d5b0e64a1b
@ -44,7 +44,9 @@ wxDEFINE_EVENT( EDA_EVT_PLUGIN_AVAILABILITY_CHANGED, wxCommandEvent );
|
|||||||
|
|
||||||
API_PLUGIN_MANAGER::API_PLUGIN_MANAGER( wxEvtHandler* aEvtHandler ) :
|
API_PLUGIN_MANAGER::API_PLUGIN_MANAGER( wxEvtHandler* aEvtHandler ) :
|
||||||
wxEvtHandler(),
|
wxEvtHandler(),
|
||||||
m_parent( aEvtHandler )
|
m_parent( aEvtHandler ),
|
||||||
|
m_lastPid( 0 ),
|
||||||
|
m_raiseTimer( nullptr )
|
||||||
{
|
{
|
||||||
// Read and store pcm schema
|
// Read and store pcm schema
|
||||||
wxFileName schemaFile( PATHS::GetStockDataPath( true ), wxS( "api.v1.schema.json" ) );
|
wxFileName schemaFile( PATHS::GetStockDataPath( true ), wxS( "api.v1.schema.json" ) );
|
||||||
|
@ -80,7 +80,8 @@ void KiAssertFilter( const wxString &file, int line,
|
|||||||
// allow for nesting of LOCALE_IO instantiations
|
// allow for nesting of LOCALE_IO instantiations
|
||||||
static std::atomic<unsigned int> locale_count( 0 );
|
static std::atomic<unsigned int> locale_count( 0 );
|
||||||
|
|
||||||
LOCALE_IO::LOCALE_IO()
|
LOCALE_IO::LOCALE_IO() :
|
||||||
|
m_wxLocale( nullptr )
|
||||||
{
|
{
|
||||||
// use thread safe, atomic operation
|
// use thread safe, atomic operation
|
||||||
if( locale_count++ == 0 )
|
if( locale_count++ == 0 )
|
||||||
|
@ -103,4 +103,7 @@ private:
|
|||||||
std::deque<JOB> m_jobs;
|
std::deque<JOB> m_jobs;
|
||||||
|
|
||||||
std::unique_ptr<JSON_SCHEMA_VALIDATOR> m_schema_validator;
|
std::unique_ptr<JSON_SCHEMA_VALIDATOR> m_schema_validator;
|
||||||
|
|
||||||
|
[[maybe_unused]] long m_lastPid;
|
||||||
|
[[maybe_unused]] wxTimer* m_raiseTimer;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user