From a8a10eac59bf21e29c7ad24ef2e3edd72a8e15ae Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Wed, 5 Apr 2023 12:56:39 +0200 Subject: [PATCH] feat!: Remove deprecated state-to-str conversion helpers BREAKING CHANGE --- fairmq/Device.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/fairmq/Device.h b/fairmq/Device.h index 1b0ff251..26827f1f 100644 --- a/fairmq/Device.h +++ b/fairmq/Device.h @@ -583,18 +583,6 @@ class Device /// @brief Returns the name of the current state as a string std::string GetCurrentStateName() const { return fStateMachine.GetCurrentStateName(); } - /// @brief Returns name of the given state as a string - /// @param state state - [[deprecated("Use fair::mq::GetStateName from directly")]] - static std::string GetStateName(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 directly")]] - static std::string GetTransitionName(Transition transition) - { - return fair::mq::GetTransitionName(transition); - } - static constexpr const char* DefaultId = ""; static constexpr int DefaultIOThreads = 1; static constexpr const char* DefaultTransportName = "zeromq";