Skip to content

Commit

Permalink
fix: Deprecate static string helper
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisklein committed Sep 9, 2021
1 parent 727a709 commit b442483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fairmq/Device.h
Original file line number Diff line number Diff line change
Expand Up @@ -536,9 +536,11 @@ class Device

/// @brief Returns name of the given state as a string
/// @param state state
[[deprecated("Use fair::mq::GetStateName from <fairmq/States.h> directly")]]
static std::string GetStateName(const State state) { return fair::mq::GetStateName(state); }
/// @brief Returns name of the given transition as a string
/// @param transition transition
[[deprecated("Use fair::mq::GetTransitionName from <fairmq/States.h> directly")]]
static std::string GetTransitionName(const Transition transition)
{
return fair::mq::GetTransitionName(transition);
Expand Down

0 comments on commit b442483

Please sign in to comment.