Commit bea8b2b1 authored by xiaoye's avatar xiaoye

Update data_manager.cpp

parent 0554ebeb
......@@ -327,6 +327,8 @@ void DataManager::InsertServerList() {
std::wstring ip = iniHost;
std::wstring name = iniName;
if (iniPort != L"") {
ip += L":";
ip += iniPort;
}
auto it = std::find_if(_serverStrings.begin(), _serverStrings.end(),
[name](const auto& pair) { return pair.first == name; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment