mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Fix warnings produced with -Weffc++ in fairmq, base/MQ and Tutorial3.
Remaining warnings originate from boost::msm and boost::mpl. Also, warnings with missing initializer list entries for DeviceOptions are false positives, since those are PODs.
This commit is contained in:
committed by
Florian Uhlig
parent
a8854d36ac
commit
ce58ee2302
@@ -24,10 +24,7 @@
|
||||
#include "FairMQTransportFactory.h"
|
||||
#include "FairMQSocket.h"
|
||||
|
||||
using std::vector;
|
||||
using std::cin;
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
using namespace std;
|
||||
|
||||
class FairMQDevice : public FairMQStateMachine, public FairMQConfigurable
|
||||
{
|
||||
@@ -92,8 +89,6 @@ class FairMQDevice : public FairMQStateMachine, public FairMQConfigurable
|
||||
vector<FairMQSocket*>* fPayloadInputs;
|
||||
vector<FairMQSocket*>* fPayloadOutputs;
|
||||
|
||||
FairMQSocket* fCommandSocket;
|
||||
|
||||
int fLogIntervalInMs;
|
||||
|
||||
FairMQTransportFactory* fTransportFactory;
|
||||
@@ -106,6 +101,11 @@ class FairMQDevice : public FairMQStateMachine, public FairMQConfigurable
|
||||
virtual void InitInput();
|
||||
|
||||
virtual void Terminate();
|
||||
|
||||
private:
|
||||
/// Copy Constructor
|
||||
FairMQDevice(const FairMQDevice&);
|
||||
FairMQDevice operator=(const FairMQDevice&);
|
||||
};
|
||||
|
||||
#endif /* FAIRMQDEVICE_H_ */
|
||||
|
Reference in New Issue
Block a user