diff --git a/common/tool/construction_manager.cpp b/common/tool/construction_manager.cpp index 41d006ad7a..8e4905ac07 100644 --- a/common/tool/construction_manager.cpp +++ b/common/tool/construction_manager.cpp @@ -224,7 +224,8 @@ void CONSTRUCTION_MANAGER::ProposeConstructionItems( return; } - auto pendingBatch = std::make_unique( std::move( *aBatch ), aIsPersistent ); + auto pendingBatch = std::make_unique( PENDING_BATCH{ std::move( *aBatch ), + aIsPersistent } ); if( aIsPersistent ) {