X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/7e74b790d290cd7d776349503bb361c47933c01f..9c0c758e9af50f624414decbaae43c04e8d8e3f9:/Server/src/command.cpp?ds=sidebyside 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;