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:
Alexey Rybalchenko
2015-01-02 14:04:33 +01:00
committed by Florian Uhlig
parent a8854d36ac
commit ce58ee2302
36 changed files with 116 additions and 50 deletions

View File

@@ -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();

View File

@@ -19,6 +19,8 @@
#include "FairMQDevice.h"
using namespace std;
class FairMQProtoSampler : public FairMQDevice
{
public: