Skip to content

Commit

Permalink
Changed inline to constexpr
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Lukas <[email protected]>
  • Loading branch information
SebaLukas committed Sep 25, 2024
1 parent 88be47b commit 6268cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Evse15118D20/charger/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ template <typename T> constexpr auto to_underlying_value(T t) {
static_assert(NUMBER_OF_SETUP_STEPS == to_underlying_value(SetupStep::MIN_LIMITS) + 1,
"NUMBER_OF_SETUP_STEPS should be in sync with the SetupStep enum definition");

inline types::iso15118_charger::V2gMessageId convert_v2g_message_type(iso15118::message_20::Type type) {
constexpr types::iso15118_charger::V2gMessageId convert_v2g_message_type(iso15118::message_20::Type type) {

using Type = iso15118::message_20::Type;
using Id = types::iso15118_charger::V2gMessageId;
Expand Down

0 comments on commit 6268cfa

Please sign in to comment.