mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31: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
@@ -44,7 +44,7 @@ void FairMQExample8Sampler::Run()
|
||||
|
||||
parts.AddPart(NewMessage(header, // data pointer
|
||||
sizeof(Ex8Header), // data size
|
||||
[](void* data, void* hint) { delete static_cast<Ex8Header*>(data); } // callback to deallocate after the transfer
|
||||
[](void* data, void* /*hint*/) { delete static_cast<Ex8Header*>(data); } // callback to deallocate after the transfer
|
||||
));
|
||||
parts.AddPart(NewMessage(1000));
|
||||
|
||||
|
Reference in New Issue
Block a user