MT#62181 RegisterCache: turn AorEntry into class

Change to unordered_map while we're at it.

Change-Id: I6b2c6c6f38c857d9db5b772c3d2ba42586e82f95
master
Richard Fuchs 1 month ago
parent ea6b3e1e2d
commit 3b90286a1e

@ -11,9 +11,11 @@
#include <string>
#include <map>
#include <unordered_map>
#include <memory>
using std::string;
using std::map;
using std::unordered_map;
using std::unique_ptr;
#define REG_CACHE_TABLE_POWER 10
@ -45,7 +47,9 @@ struct RegBinding
};
// Contact-URI/Public-IP -> RegBinding
typedef map<string, RegBinding> AorEntry;
class AorEntry : public unordered_map<string, RegBinding>
{
};
struct AliasEntry
: public DirectAppTimer

Loading…
Cancel
Save