mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Remove FairMQChannel from parser, implement bulk operations
This commit is contained in:
committed by
Dennis Klein
parent
fbb003b50f
commit
bf8ec968e7
@@ -114,7 +114,7 @@ class Config : public ::testing::Test
|
||||
channel.UpdateType("pub");
|
||||
channel.UpdateMethod("connect");
|
||||
channel.UpdateAddress("tcp://localhost:5558");
|
||||
device.AddChannel("data", channel);
|
||||
device.AddChannel("data", std::move(channel));
|
||||
|
||||
thread t(control, ref(device));
|
||||
|
||||
@@ -143,7 +143,7 @@ class Config : public ::testing::Test
|
||||
channel.UpdateType("pub");
|
||||
channel.UpdateMethod("connect");
|
||||
channel.UpdateAddress("tcp://localhost:5558");
|
||||
device.AddChannel("data", channel);
|
||||
device.AddChannel("data", std::move(channel));
|
||||
|
||||
thread t(&FairMQDevice::RunStateMachine, &device);
|
||||
|
||||
|
Reference in New Issue
Block a user