mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Fix unused variables, init order and effc++ warnings.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
ac9475c591
commit
d5b98567db
@@ -36,7 +36,7 @@ void FairMQExample4Sampler::Run()
|
||||
|
||||
std::unique_ptr<FairMQMessage> msg(NewMessage(number, // data pointer
|
||||
sizeof(uint64_t), // data size
|
||||
[](void* data, void* hint){ delete static_cast<uint64_t*>(data); } // callback to deallocate after the transfer
|
||||
[](void* data, void* /*hint*/){ delete static_cast<uint64_t*>(data); } // callback to deallocate after the transfer
|
||||
));
|
||||
|
||||
LOG(INFO) << "Sending \"" << counter << "\"";
|
||||
|
Reference in New Issue
Block a user