From 1c53a1de3d2978d25e531c4ece28b010ab57979d Mon Sep 17 00:00:00 2001 From: Marc Emmers Date: Thu, 21 Nov 2024 15:17:18 +0100 Subject: [PATCH] Fix linter issues Signed-off-by: Marc Emmers --- include/ocpp/v201/charge_point.hpp | 3 ++- lib/ocpp/v201/charge_point.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/ocpp/v201/charge_point.hpp b/include/ocpp/v201/charge_point.hpp index e247b6dde..64631c388 100644 --- a/include/ocpp/v201/charge_point.hpp +++ b/include/ocpp/v201/charge_point.hpp @@ -940,7 +940,8 @@ class ChargePoint : public ChargePointInterface, private ocpp::ChargingStationBa std::vector get_all_composite_schedules(const int32_t duration, const ChargingRateUnitEnum& unit) override; - std::optional get_network_connection_profile(const int32_t configuration_slot) const override; + std::optional + get_network_connection_profile(const int32_t configuration_slot) const override; std::optional get_priority_from_configuration_slot(const int configuration_slot) const override; diff --git a/lib/ocpp/v201/charge_point.cpp b/lib/ocpp/v201/charge_point.cpp index 3afa446f3..3af2b7dbf 100644 --- a/lib/ocpp/v201/charge_point.cpp +++ b/lib/ocpp/v201/charge_point.cpp @@ -4453,7 +4453,8 @@ std::vector ChargePoint::get_all_composite_schedules(const in return composite_schedules; } -std::optional ChargePoint::get_network_connection_profile(const int32_t configuration_slot) const { +std::optional +ChargePoint::get_network_connection_profile(const int32_t configuration_slot) const { return this->connectivity_manager->get_network_connection_profile(configuration_slot); }