StartServer: Take persist_filename as a StringRef.

This commit is contained in:
Peter Johnson
2015-07-19 16:11:56 -07:00
parent ec54904347
commit 1cc148848b
2 changed files with 2 additions and 2 deletions

View File

@@ -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);