diff --git a/pcbnew/connectivity/connectivity_algo.cpp b/pcbnew/connectivity/connectivity_algo.cpp index 6ad8256c4a..9f04136431 100644 --- a/pcbnew/connectivity/connectivity_algo.cpp +++ b/pcbnew/connectivity/connectivity_algo.cpp @@ -268,7 +268,6 @@ void CN_CONNECTIVITY_ALGO::searchConnections() if( m_itemList.IsDirty() ) { - std::vector<std::future<size_t>> returns( dirtyItems.size() ); auto conn_lambda = diff --git a/pcbnew/pcb_shape.h b/pcbnew/pcb_shape.h index 90cf2e4459..ceebcd3723 100644 --- a/pcbnew/pcb_shape.h +++ b/pcbnew/pcb_shape.h @@ -109,7 +109,7 @@ public: * Make a set of SHAPE objects representing the PCB_SHAPE. Caller owns the objects. */ std::shared_ptr<SHAPE> GetEffectiveShape( PCB_LAYER_ID aLayer = UNDEFINED_LAYER, - FLASHING aFlash = FLASHING::DEFAULT ) const override; + FLASHING aFlash = FLASHING::DEFAULT ) const override; bool IsProxyItem() const override { return m_proxyItem; } void SetIsProxyItem( bool aIsProxy = true ) override;