mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Fix copy constructor & assignment operator warning in FairMQChannel
Fix Weffc++ warnings - Add missing copy constructors and assignment operators . - Hide the warning from FairMQStateMachine.h where it is produced by boost and/or is intended. - Some code cleanup.
This commit is contained in:
committed by
Florian Uhlig
parent
9a0a8c7516
commit
e4fed2fa1b
@@ -27,6 +27,8 @@ class FairMQSocketNN : public FairMQSocket
|
||||
{
|
||||
public:
|
||||
FairMQSocketNN(const std::string& type, const std::string& name, int numIoThreads); // numIoThreads is not used in nanomsg.
|
||||
FairMQSocketNN(const FairMQSocketNN&) = delete;
|
||||
FairMQSocketNN operator=(const FairMQSocketNN&) = delete;
|
||||
|
||||
virtual std::string GetId();
|
||||
|
||||
@@ -67,10 +69,6 @@ class FairMQSocketNN : public FairMQSocket
|
||||
unsigned long fBytesRx;
|
||||
unsigned long fMessagesTx;
|
||||
unsigned long fMessagesRx;
|
||||
|
||||
/// Copy Constructor
|
||||
FairMQSocketNN(const FairMQSocketNN&);
|
||||
FairMQSocketNN operator=(const FairMQSocketNN&);
|
||||
};
|
||||
|
||||
#endif /* FAIRMQSOCKETNN_H_ */
|
||||
|
Reference in New Issue
Block a user