mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Apply modernize-use-override
This commit is contained in:
committed by
Dennis Klein
parent
ad824b4de1
commit
153dcfab94
@@ -59,7 +59,7 @@ struct TransportFactory final : mq::TransportFactory
|
||||
TransportFactory(TransportFactory&&) = delete;
|
||||
TransportFactory& operator=(const TransportFactory&) = delete;
|
||||
TransportFactory& operator=(TransportFactory&&) = delete;
|
||||
~TransportFactory() = default;
|
||||
~TransportFactory() override = default;
|
||||
|
||||
auto CreateMessage() -> std::unique_ptr<mq::Message> override
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ class Config : public Plugin
|
||||
Config& operator=(const Config&) = delete;
|
||||
Config& operator=(Config&&) = delete;
|
||||
|
||||
~Config();
|
||||
~Config() override;
|
||||
};
|
||||
|
||||
Plugin::ProgOptions ConfigPluginProgramOptions();
|
||||
|
@@ -33,7 +33,7 @@ class Control : public Plugin
|
||||
Control& operator=(const Control&) = delete;
|
||||
Control& operator=(Control&&) = delete;
|
||||
|
||||
~Control();
|
||||
~Control() override;
|
||||
|
||||
private:
|
||||
auto InteractiveMode() -> void;
|
||||
|
@@ -5,12 +5,6 @@
|
||||
* GNU Lesser General Public Licence (LGPL) version 3, *
|
||||
* copied verbatim in the file "LICENSE" *
|
||||
********************************************************************************/
|
||||
/**
|
||||
* Manager.h
|
||||
*
|
||||
* @since 2016-04-08
|
||||
* @author A. Rybalchenko
|
||||
*/
|
||||
|
||||
#ifndef FAIR_MQ_SHMEM_MANAGER_H_
|
||||
#define FAIR_MQ_SHMEM_MANAGER_H_
|
||||
|
@@ -5,12 +5,6 @@
|
||||
* GNU Lesser General Public Licence (LGPL) version 3, *
|
||||
* copied verbatim in the file "LICENSE" *
|
||||
********************************************************************************/
|
||||
/**
|
||||
* Region.h
|
||||
*
|
||||
* @since 2016-04-08
|
||||
* @author A. Rybalchenko
|
||||
*/
|
||||
|
||||
#ifndef FAIR_MQ_SHMEM_REGION_H_
|
||||
#define FAIR_MQ_SHMEM_REGION_H_
|
||||
|
@@ -63,8 +63,8 @@ class UnmanagedRegion final : public fair::mq::UnmanagedRegion
|
||||
UnmanagedRegion& operator=(const UnmanagedRegion&) = delete;
|
||||
UnmanagedRegion& operator=(UnmanagedRegion&&) = delete;
|
||||
|
||||
virtual void* GetData() const override { return fBuffer; }
|
||||
virtual size_t GetSize() const override { return fSize; }
|
||||
void* GetData() const override { return fBuffer; }
|
||||
size_t GetSize() const override { return fSize; }
|
||||
uint16_t GetId() const override { return fId; }
|
||||
int64_t GetUserFlags() const { return fUserFlags; }
|
||||
void SetLinger(uint32_t /* linger */) override { LOG(debug) << "ZeroMQ UnmanagedRegion linger option not implemented. Acknowledgements are local."; }
|
||||
@@ -72,7 +72,7 @@ class UnmanagedRegion final : public fair::mq::UnmanagedRegion
|
||||
|
||||
Transport GetType() const override { return Transport::ZMQ; }
|
||||
|
||||
virtual ~UnmanagedRegion()
|
||||
~UnmanagedRegion() override
|
||||
{
|
||||
LOG(debug) << "destroying region " << fId;
|
||||
fCtx.RemoveRegion(fId);
|
||||
|
Reference in New Issue
Block a user