mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
FairMQ: fix const qualifier for DeviceRunner
This commit is contained in:
committed by
Mohammad Al-Turany
parent
1bc5771bf3
commit
d175a732a6
@@ -33,7 +33,7 @@ auto ToString(T&&... t) -> std::string
|
||||
}
|
||||
|
||||
/// @brief convert command line arguments from main function to vector of strings
|
||||
inline auto ToStrVector(const int argc, const char* argv[], const bool dropProgramName = true) -> std::vector<std::string>
|
||||
inline auto ToStrVector(const int argc, char* const argv[], const bool dropProgramName = true) -> std::vector<std::string>
|
||||
{
|
||||
auto res = std::vector<std::string>{};
|
||||
if (dropProgramName)
|
||||
|
@@ -37,7 +37,9 @@ int runStateMachine(TMQDevice& device, FairMQProgOptions& cfg)
|
||||
|
||||
if (control == "interactive")
|
||||
{
|
||||
device.InteractiveStateLoop();
|
||||
LOG(ERROR) << "interactive control moved to plugin";
|
||||
return 1;
|
||||
// device.InteractiveStateLoop();
|
||||
}
|
||||
else if (control == "static")
|
||||
{
|
||||
|
Reference in New Issue
Block a user