diff --git a/sources/core/Server.cpp b/sources/core/Server.cpp index 474d4c5..5f0cdbd 100644 --- a/sources/core/Server.cpp +++ b/sources/core/Server.cpp @@ -6,7 +6,7 @@ /* By: sben-tay +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/13 11:11:07 by rparodi #+# #+# */ -/* Updated: 2025/05/20 17:11:06 by sben-tay ### ########.fr */ +/* Updated: 2025/05/21 13:03:51 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -20,15 +20,6 @@ #include #include -/** - * @brief The default constructor of the Server class. - */ -Server::Server() : _port(0), _password("") { - if (DEBUG) - std::cerr << CLR_MAGENTA << "Debug: Thanks to use the constructor with port and password !" << std::endl; - std::cout << CLR_GREY << "Info: Server default constructor called" << CLR_RESET << std::endl; -} - /** * @brief The constructor of the Server class. * @@ -71,7 +62,7 @@ void Server::start() { std::cout << "Serveur lancé sur le port " << _port << std::endl; - _poll.pollLoop(_serverFd); + _pollManager.pollLoop(_serverFd); close(_serverFd); }