hashing not a great idea here
This commit is contained in:
parent
dbb24d9cc9
commit
16128382a9
|
|
@ -72,11 +72,11 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
typedef phash_set<EventFunction *, pointer_hash> Functions;
|
||||
typedef phash_map<string, Functions, string_hash> Hooks;
|
||||
typedef pset<EventFunction *> Functions;
|
||||
typedef pmap<string, Functions> Hooks;
|
||||
typedef pair<EventCallbackFunction*, void*> CallbackFunction;
|
||||
typedef pset<CallbackFunction> CallbackFunctions;
|
||||
typedef phash_map<string, CallbackFunctions, string_hash> CallbackHooks;
|
||||
typedef pmap<string, CallbackFunctions> CallbackHooks;
|
||||
|
||||
Hooks _hooks;
|
||||
CallbackHooks _cbhooks;
|
||||
|
|
|
|||
Loading…
Reference in New Issue