small fix to keys

This commit is contained in:
georgemoralis 2023-10-05 12:19:03 +03:00
parent 0297a3952b
commit 8e3aa1f2dc

View File

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