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

@@ -5,6 +5,7 @@
int main(int, char **) {
auto config = std::make_shared<Yc::Lib::Config>();
auto server = std::make_shared<Yc::Lib::Server>(config);
server->createRooms(config->group("rooms"));
server->run();
return 0;
}