X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/7e74b790d290cd7d776349503bb361c47933c01f..e76a2b3254a9ddd5902230ca21c532168d0e93b4:/Server/src/command.cpp diff --git a/Server/src/command.cpp b/Server/src/command.cpp index 517d352..5aa4700 100644 --- a/Server/src/command.cpp +++ b/Server/src/command.cpp @@ -112,7 +112,8 @@ void Command::add_arg(const unsigned& arg) { build(); } -istream& operator>>(istream& is, Command& command) throw(HTTPError, sockerr) { +istream& operator>>(istream& is, Command& command) + throw(HTTPError, sockerr, ios::failure) { #ifdef DEBUG cerr << __FILE__ << "(" << __LINE__ << ")" << ": operator>>()" << endl;