FairMQ: fix const qualifier for DeviceRunner

This commit is contained in:
Alexey Rybalchenko
2017-10-04 16:08:58 +02:00
committed by Mohammad Al-Turany
parent 1bc5771bf3
commit d175a732a6
5 changed files with 7 additions and 5 deletions

View File

@@ -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)

View File

@@ -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")
{