Add typename hint to fix compilation error on VS2015

This commit is contained in:
Cheng Zhao 2016-05-11 20:57:21 +09:00
parent 759a46f3d6
commit 12d40cd310

View file

@ -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);
}