mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
StartServer: Take persist_filename as a StringRef.
This commit is contained in:
@@ -102,7 +102,7 @@ void SetNetworkIdentity(StringRef name) {
|
||||
Dispatcher::GetInstance().SetIdentity(name);
|
||||
}
|
||||
|
||||
void StartServer(const char *persist_filename, const char *listen_address,
|
||||
void StartServer(StringRef persist_filename, const char *listen_address,
|
||||
unsigned int port) {
|
||||
Dispatcher& dispatcher = Dispatcher::GetInstance();
|
||||
dispatcher.StartServer(listen_address, port);
|
||||
|
||||
Reference in New Issue
Block a user