Add typename hint to fix compilation error on VS2015
This commit is contained in:
parent
759a46f3d6
commit
12d40cd310
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class KeyWeakMap {
|
|||
|
||||
private:
|
||||
static void OnObjectGC(
|
||||
const v8::WeakCallbackInfo<KeyWeakMap<K>::KeyObject>& data) {
|
||||
const v8::WeakCallbackInfo<typename KeyWeakMap<K>::KeyObject>& data) {
|
||||
KeyWeakMap<K>::KeyObject* key_object = data.GetParameter();
|
||||
key_object->self->Remove(key_object->key);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue