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
@@ -25,8 +25,6 @@
|
||||
#include <iterator>
|
||||
#include <tuple>
|
||||
|
||||
|
||||
|
||||
template<class T>
|
||||
std::ostream& operator<<(std::ostream& os, const std::vector<T>& v)
|
||||
{
|
||||
@@ -36,9 +34,8 @@ std::ostream& operator<<(std::ostream& os, const std::vector<T>& v)
|
||||
|
||||
namespace fairmq
|
||||
{
|
||||
|
||||
namespace po = boost::program_options;
|
||||
|
||||
|
||||
//_____________________________________________________________________________________________________________________________
|
||||
|
||||
template<typename T>
|
||||
@@ -108,6 +105,7 @@ namespace fairmq
|
||||
return std::string("empty value");
|
||||
}
|
||||
};
|
||||
|
||||
//_____________________________________________________________________________________________________________________________
|
||||
|
||||
// policy to convert variable value content into a tuple with value, type, defaulted, empty information
|
||||
|
Reference in New Issue
Block a user