Skip to content

Commit

Permalink
Update vlbi_server_shared.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
iliaplatone authored Dec 1, 2024
1 parent ebff741 commit 8bae945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlbi_server_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ void SHAREDServer::Parse()
VLBI::Server::Parse();
}

Server *VLBI::server = (Server*)new SHAREDServer();
Server *VLBI::server;

int VLBI_Server_Init(int argc, char** argv) { return VLBI::server->Init(argc, argv); }
int VLBI_Server_Init(int argc, char** argv) { VLBI::server = new SHAREDServer(); }
void VLBI_Server_Parse() { VLBI::server->Parse(); }
void VLBI_Server_addContext(const char *name) { VLBI::server->addContext(name); }
void VLBI_Server_delContext(const char *name) { VLBI::server->delContext(name); }
Expand Down

0 comments on commit 8bae945

Please sign in to comment.