mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-24 22:26:52 -05:00
fixed bug in debug dump of GxsIdDetails icon cache
This commit is contained in:
parent
1a4585ccee
commit
d62506479e
@ -441,7 +441,7 @@ void GxsIdDetails::debug_dumpImagesCache()
|
||||
|
||||
std::cerr << "Current icon cache:" << std::endl;
|
||||
|
||||
for(auto it:mDefaultIconCache)
|
||||
for(const auto& it:mDefaultIconCache) // the & is important here, otherwise pairs are copied and isDetached() is always false!
|
||||
{
|
||||
std::cerr << " Identity " << it.first << ":" << std::endl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user