Skip to content

Commit

Permalink
fix: remove constexpr from other related state functions
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Jun 24, 2024
1 parent 31afcdf commit 45b3878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit-tests/TestTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class ControlPolicyFake
mimicpp::control_state_t stateData{};

[[nodiscard]]
constexpr mimicpp::control_state_t state() const
mimicpp::control_state_t state() const
{
return stateData;
}
Expand Down Expand Up @@ -233,7 +233,7 @@ class ControlPolicyFacade
}

[[nodiscard]]
constexpr mimicpp::control_state_t state() const
mimicpp::control_state_t state() const
{
return std::invoke(projection, policy)
.state();
Expand Down

0 comments on commit 45b3878

Please sign in to comment.