X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/6bffb655ac989fe4f115763270f84175bf24e4bb..29e4030c485d49ae79d491e7d0297899b9df6f73:/Server/src/command.cpp?ds=sidebyside diff --git a/Server/src/command.cpp b/Server/src/command.cpp index 2db14f0..08a73c9 100644 --- a/Server/src/command.cpp +++ b/Server/src/command.cpp @@ -44,12 +44,13 @@ Command::~Command(void) { #endif // DEBUG } -Command::Command(const string& target, const string& command): - target(target), command(command) { +Command::Command(const string& _target, const string& _command) { #ifdef DEBUG cerr << __FILE__ << ": target = " << target << " | " << "command = " << command << endl; #endif // DEBUG + set_target(_target); + set_command(_command); } void Command::build(void) {