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
@@ -20,11 +20,12 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility> // move
|
||||
|
||||
using namespace std;
|
||||
|
||||
FairMQTransportFactory::FairMQTransportFactory(const string& id)
|
||||
: fkId(id)
|
||||
FairMQTransportFactory::FairMQTransportFactory(string id)
|
||||
: fkId(std::move(id))
|
||||
{}
|
||||
|
||||
auto FairMQTransportFactory::CreateTransportFactory(const string& type,
|
||||
|
Reference in New Issue
Block a user