Fix compilation errors due to compiler change

This commit is contained in:
Cheng Zhao 2015-07-01 07:56:29 +00:00
parent 3d88d56965
commit b1db947def
4 changed files with 28 additions and 28 deletions

View file

@ -23,7 +23,7 @@ int32_t IDWeakMap::Add(v8::Isolate* isolate, v8::Local<v8::Object> object) {
auto global = make_linked_ptr(new v8::Global<v8::Object>(isolate, object));
global->SetWeak(this, &WeakCallback);
map_.emplace(id, global);
map_[id] = global;
return id;
}