diff --git a/examples/cpp/discovery_server/CLIParser.hpp b/examples/cpp/discovery_server/CLIParser.hpp index c00bcccc312..3bd233147c5 100644 --- a/examples/cpp/discovery_server/CLIParser.hpp +++ b/examples/cpp/discovery_server/CLIParser.hpp @@ -500,7 +500,7 @@ class CLIParser } else { - config.pub_config.interval = static_cast(input); + config.pub_config.interval = static_cast(input); } } catch (const std::invalid_argument& e)