X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/7e74b790d290cd7d776349503bb361c47933c01f..dea314b92324ad67455bb039e2078652ab0e5824:/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;