mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Use proper type.
This commit is contained in:
parent
1b3f10148d
commit
b7fd0bdc9c
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user