We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e11bc55 commit 690a855Copy full SHA for 690a855
src/chargepoint/reservation/ReservationManager.cpp
@@ -296,7 +296,7 @@ bool ReservationManager::handleMessage(const ocpp::messages::CancelReservationRe
296
if ((connector->status == ChargePointStatus::Reserved) && (connector->reservation_id == request.reservationId))
297
{
298
// Cancel reservation
299
- m_worker_pool.run<void>([this, &connector] { endReservation(connector->id, true); });
+ m_worker_pool.run<void>([this, connector] { endReservation(connector->id, true); });
300
301
// Prepare response
302
response.status = CancelReservationStatus::Accepted;
0 commit comments