Refactor Server class: move createRooms call outside constructor and update access modifier for _socket

This commit is contained in:
Torsten Schulz (local)
2025-08-11 11:45:09 +02:00
parent f44d780537
commit 89956bd01a
3 changed files with 4 additions and 2 deletions

View File

@@ -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() {