Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
Signed-off-by: pietfried <[email protected]>
  • Loading branch information
Pietfried committed Sep 10, 2024
1 parent c4da424 commit 3e0a300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ocpp/v201/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ std::optional<float> get_total_power_active_import(const MeterValue& meter_value
bool is_critical(const std::string& security_event);

/// \brief Converts the given \p csl of ChargingProfilePurpose strings into a std::set<ChargingProfilePurposeEnum>
std::set<ChargingProfilePurposeEnum> get_purposes_to_ignore(const std::string &csl, const bool is_offline);
std::set<ChargingProfilePurposeEnum> get_purposes_to_ignore(const std::string& csl, const bool is_offline);

} // namespace utils
} // namespace v201
Expand Down
2 changes: 1 addition & 1 deletion lib/ocpp/v201/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ std::set<ChargingProfilePurposeEnum> get_purposes_to_ignore(const std::string& c
if (not is_offline) {
return {};
}

if (csl.empty()) {
return {};
}
Expand Down

0 comments on commit 3e0a300

Please sign in to comment.