Browse Source

fix a compil issue (missing include and nullptr_t -> std::nullptr_t)

newinvert
jean-pierre charras 2 years ago
parent
commit
7789dfcfdc
  1. 5
      eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp

5
eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp

@ -33,6 +33,7 @@
#include "sheet_synchronization_item.h"
#include <memory>
#include <cstddef>
#include <sch_sheet_pin.h>
#include <sch_sheet.h>
#include <unordered_map>
@ -129,8 +130,8 @@ void DIALOG_SYNC_SHEET_PINS::OnClose( wxCloseEvent& aEvent )
void DIALOG_SYNC_SHEET_PINS::EndPlaceItem( EDA_ITEM* aNewItem )
{
auto post_end_place_item = std::shared_ptr<nullptr_t>( nullptr,
[&]( nullptr_t )
auto post_end_place_item = std::shared_ptr<std::nullptr_t>( nullptr,
[&]( std::nullptr_t )
{
m_placeItemKind =
PlaceItemKind::UNDEFINED;

Loading…
Cancel
Save