Browse Source

build: fixes

pull/18/head
Mike Williams 4 months ago
parent
commit
d5b0e64a1b
  1. 4
      common/api/api_plugin_manager.cpp
  2. 3
      common/locale_io.cpp
  3. 3
      include/api/api_plugin_manager.h

4
common/api/api_plugin_manager.cpp

@ -44,7 +44,9 @@ wxDEFINE_EVENT( EDA_EVT_PLUGIN_AVAILABILITY_CHANGED, wxCommandEvent );
API_PLUGIN_MANAGER::API_PLUGIN_MANAGER( wxEvtHandler* aEvtHandler ) :
wxEvtHandler(),
m_parent( aEvtHandler )
m_parent( aEvtHandler ),
m_lastPid( 0 ),
m_raiseTimer( nullptr )
{
// Read and store pcm schema
wxFileName schemaFile( PATHS::GetStockDataPath( true ), wxS( "api.v1.schema.json" ) );

3
common/locale_io.cpp

@ -80,7 +80,8 @@ void KiAssertFilter( const wxString &file, int line,
// allow for nesting of LOCALE_IO instantiations
static std::atomic<unsigned int> locale_count( 0 );
LOCALE_IO::LOCALE_IO()
LOCALE_IO::LOCALE_IO() :
m_wxLocale( nullptr )
{
// use thread safe, atomic operation
if( locale_count++ == 0 )

3
include/api/api_plugin_manager.h

@ -103,4 +103,7 @@ private:
std::deque<JOB> m_jobs;
std::unique_ptr<JSON_SCHEMA_VALIDATOR> m_schema_validator;
[[maybe_unused]] long m_lastPid;
[[maybe_unused]] wxTimer* m_raiseTimer;
};
Loading…
Cancel
Save