mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41: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
@@ -65,7 +65,7 @@ void FairMQProtoSampler::Run()
|
||||
// LOG(INFO) << content->x() << " " << content->y() << " " << content->z() << " " << content->a() << " " << content->b();
|
||||
}
|
||||
|
||||
std::string str;
|
||||
string str;
|
||||
p.SerializeToString(&str);
|
||||
size_t size = str.length();
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "FairMQDevice.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class FairMQProtoSampler : public FairMQDevice
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user