X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter%2Fstack%2FDictionary.cpp;h=68f37c191646267a72bf7c27b876d5e73cd6f408;hp=e369d4306c6a8f6f7936fb1d88426b2127749a4f;hb=f702d3ab031497522a26f139c5e156f7f22e8f38;hpb=d723d5bf571eb48c641b092058eaa38bb6c4fcc8 diff --git a/source/diameter/stack/Dictionary.cpp b/source/diameter/stack/Dictionary.cpp index e369d43..68f37c1 100644 --- a/source/diameter/stack/Dictionary.cpp +++ b/source/diameter/stack/Dictionary.cpp @@ -41,8 +41,9 @@ LOGNOTICE(\ trace += "\n";\ anna::Logger::notice(trace, ANNA_FILE_LOCATION);\ );\ +std::string name = found->getName();\ pool.erase(pool.find(found->getId()));\ -poolNames.erase(poolNames.find(found->getName())); +poolNames.erase(poolNames.find(name)); //------------------------------------------------------------------------------