mirror of
https://github.com/electron/electron.git
synced 2026-01-23 14:28:17 -05:00
Add typename hint to fix compilation error on VS2015
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user