FIX: Changed to const reference
This commit is contained in:
@@ -107,7 +107,7 @@ namespace kubecontrol
|
||||
*
|
||||
* @param args
|
||||
*/
|
||||
void setArgs(std::string &args);
|
||||
void setArgs(const std::string &args);
|
||||
|
||||
/**
|
||||
* @brief Get the Args
|
||||
@@ -121,7 +121,7 @@ namespace kubecontrol
|
||||
*
|
||||
* @param command
|
||||
*/
|
||||
void setCommand(std::string &command);
|
||||
void setCommand(const std::string &command);
|
||||
|
||||
/**
|
||||
* @brief Get the Command
|
||||
@@ -135,7 +135,7 @@ namespace kubecontrol
|
||||
*
|
||||
* @param component
|
||||
*/
|
||||
void setComponent(std::string &component);
|
||||
void setComponent(const std::string &component);
|
||||
|
||||
/**
|
||||
* @brief Get the Component var
|
||||
|
||||
Reference in New Issue
Block a user