Refactor Server class: move createRooms call outside constructor and update access modifier for _socket
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Yc {
|
||||
std::cout << "bind not possible" << std::endl;
|
||||
exit(-1);
|
||||
}
|
||||
createRooms(_config->group("rooms"));
|
||||
// createRooms wird jetzt außerhalb des Konstruktors aufgerufen
|
||||
}
|
||||
|
||||
void Server::run() {
|
||||
|
||||
Reference in New Issue
Block a user