mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
fix: Deprecate static string helper
This commit is contained in:
parent
727a709aff
commit
b442483dc3
|
@ -536,9 +536,11 @@ class Device
|
||||||
|
|
||||||
/// @brief Returns name of the given state as a string
|
/// @brief Returns name of the given state as a string
|
||||||
/// @param state state
|
/// @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); }
|
static std::string GetStateName(const State state) { return fair::mq::GetStateName(state); }
|
||||||
/// @brief Returns name of the given transition as a string
|
/// @brief Returns name of the given transition as a string
|
||||||
/// @param transition transition
|
/// @param transition transition
|
||||||
|
[[deprecated("Use fair::mq::GetTransitionName from <fairmq/States.h> directly")]]
|
||||||
static std::string GetTransitionName(const Transition transition)
|
static std::string GetTransitionName(const Transition transition)
|
||||||
{
|
{
|
||||||
return fair::mq::GetTransitionName(transition);
|
return fair::mq::GetTransitionName(transition);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user