Use proper type.

This commit is contained in:
Bartosz Taudul 2019-01-29 21:53:56 +01:00
parent 1b3f10148d
commit b7fd0bdc9c

View File

@ -307,14 +307,14 @@ int main( int argc, char** argv )
if( connectClicked && *addr && !loadThread.joinable() )
{
std::string addrStr( addr );
auto it = connHistMap.find( addr );
auto it = connHistMap.find( addrStr );
if( it != connHistMap.end() )
{
it->second++;
}
else
{
connHistMap.emplace( std::move( addr ), 1 );
connHistMap.emplace( std::move( addrStr ), 1 );
}
connHistVec = RebuildConnectionHistory( connHistMap );