small fix to keys
This commit is contained in:
parent
0297a3952b
commit
8e3aa1f2dc
|
@ -341,8 +341,8 @@ bool PthreadKeys::setKey(int key, int thread_id, void* data) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Map keymap = {thread_id, data};
|
||||||
m_keys[key].specific_values.push_back(Map({thread_id, data}));
|
m_keys[key].specific_values.push_back(keymap);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue