mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Apply modernize-use-default-member-init
This commit is contained in:
committed by
Dennis Klein
parent
e1b229522c
commit
acf63d3c1b
@@ -20,15 +20,8 @@ namespace bpo = boost::program_options;
|
||||
class Sender : public FairMQDevice
|
||||
{
|
||||
public:
|
||||
Sender()
|
||||
: fNumReceivers(0)
|
||||
, fIndex(0)
|
||||
, fSubtimeframeSize(10000)
|
||||
{}
|
||||
Sender() {}
|
||||
|
||||
~Sender() = default;
|
||||
|
||||
protected:
|
||||
void InitTask() override
|
||||
{
|
||||
fIndex = GetConfig()->GetProperty<int>("sender-index");
|
||||
@@ -64,9 +57,9 @@ class Sender : public FairMQDevice
|
||||
}
|
||||
|
||||
private:
|
||||
int fNumReceivers;
|
||||
unsigned int fIndex;
|
||||
int fSubtimeframeSize;
|
||||
int fNumReceivers = 0;
|
||||
unsigned int fIndex = 0;
|
||||
int fSubtimeframeSize = 10000;
|
||||
};
|
||||
|
||||
void addCustomOptions(bpo::options_description& options)
|
||||
|
Reference in New Issue
Block a user