mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
fix: Deprecate static string helper
This commit is contained in:
parent
a3afb7fa25
commit
9dfc60e5c0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user