From 90b50dbdadb9ddef6f5ea15b758b6f5fa2ed4877 Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Wed, 5 Apr 2023 12:35:03 +0200 Subject: [PATCH] feat: Remove deprecated `GetConstant` helper --- fairmq/shmem/Socket.h | 5 +---- fairmq/zeromq/Socket.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/fairmq/shmem/Socket.h b/fairmq/shmem/Socket.h index eb912d5f..639fb670 100644 --- a/fairmq/shmem/Socket.h +++ b/fairmq/shmem/Socket.h @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (C) 2014-2021 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * + * Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * @@ -452,9 +452,6 @@ class Socket final : public fair::mq::Socket unsigned long GetMessagesTx() const override { return fMessagesTx; } unsigned long GetMessagesRx() const override { return fMessagesRx; } - [[deprecated("Use fair::mq::zmq::getConstant() from instead.")]] - static int GetConstant(const std::string& constant) { return zmq::getConstant(constant); } - ~Socket() override { Close(); } private: diff --git a/fairmq/zeromq/Socket.h b/fairmq/zeromq/Socket.h index 2167600b..5c6136f1 100644 --- a/fairmq/zeromq/Socket.h +++ b/fairmq/zeromq/Socket.h @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (C) 2014-2021 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * + * Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * @@ -390,9 +390,6 @@ class Socket final : public fair::mq::Socket unsigned long GetMessagesTx() const override { return fMessagesTx; } unsigned long GetMessagesRx() const override { return fMessagesRx; } - [[deprecated("Use fair::mq::zmq::getConstant() from instead.")]] - static int GetConstant(const std::string& constant) { return getConstant(constant); } - ~Socket() override { Close(); } private: