diff --git a/common/fp_lib_table.cpp b/common/fp_lib_table.cpp index 1127f73dd2..25a4b3896f 100644 --- a/common/fp_lib_table.cpp +++ b/common/fp_lib_table.cpp @@ -62,7 +62,7 @@ void FP_LIB_TABLE_ROW::SetType( const wxString& aType ) if( PCB_IO_MGR::PCB_FILE_T( -1 ) == type ) type = PCB_IO_MGR::KICAD_SEXP; - plugin.release(); + plugin.reset(); } diff --git a/eeschema/sch_io/http_lib/sch_io_http_lib.cpp b/eeschema/sch_io/http_lib/sch_io_http_lib.cpp index 78407610a3..ed159bafe4 100644 --- a/eeschema/sch_io/http_lib/sch_io_http_lib.cpp +++ b/eeschema/sch_io/http_lib/sch_io_http_lib.cpp @@ -344,7 +344,7 @@ void SCH_IO_HTTP_LIB::connect() m_lastError = m_conn->GetLastError(); // Make sure we release pointer so we are able to query API again next time - m_conn.release(); + m_conn.reset(); return; } diff --git a/eeschema/symbol_lib_table.cpp b/eeschema/symbol_lib_table.cpp index e617b6845d..0fa726fc8c 100644 --- a/eeschema/symbol_lib_table.cpp +++ b/eeschema/symbol_lib_table.cpp @@ -73,7 +73,7 @@ void SYMBOL_LIB_TABLE_ROW::SetType( const wxString& aType ) if( type == SCH_IO_MGR::SCH_FILE_UNKNOWN ) type = SCH_IO_MGR::SCH_KICAD; - plugin.release(); + plugin.reset(); }