Skip to content
Snippets Groups Projects
Verified Commit e379565c authored by Martin Stump's avatar Martin Stump
Browse files

Rm noexcept specifier from ISteppable::Step, and add it to GetStepSize


Signed-off-by: default avatarMartin Stump <martin.stump@mercedes-benz.com>
parent 989a9e7b
No related branches found
No related tags found
No related merge requests found
......@@ -25,11 +25,11 @@ struct ISteppable
/// \brief Calculate the new state
/// \param[in] size The time step size
virtual void Step(Time size) noexcept = 0;
virtual void Step(Time size) = 0;
/// \brief Get the time step size
/// \return The time step size
[[nodiscard]] virtual std::optional<mantle_api::Time> GetStepSize() const = 0;
[[nodiscard]] virtual std::optional<mantle_api::Time> GetStepSize() const noexcept = 0;
};
} // namespace mantle_api
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment