mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Apply modernize-pass-by-value
This commit is contained in:
committed by
Dennis Klein
parent
c847a7ca02
commit
882edbbdb8
@@ -38,6 +38,7 @@
|
||||
#include <cerrno>
|
||||
#include <chrono>
|
||||
#include <ios>
|
||||
#include <utility> // move
|
||||
|
||||
namespace fair::mq::shmem
|
||||
{
|
||||
@@ -54,8 +55,8 @@ struct Region
|
||||
, fFile(nullptr)
|
||||
, fFileMapping()
|
||||
, fQueue(nullptr)
|
||||
, fCallback(callback)
|
||||
, fBulkCallback(bulkCallback)
|
||||
, fCallback(std::move(callback))
|
||||
, fBulkCallback(std::move(bulkCallback))
|
||||
{
|
||||
using namespace boost::interprocess;
|
||||
|
||||
|
Reference in New Issue
Block a user