rttrorg / rttr

C++ Reflection Library
https://www.rttr.org
MIT License
3.11k stars 429 forks source link

fix thread-safety issues #325

Open utkarshayachit opened 2 years ago

utkarshayachit commented 2 years ago

custom_name_to_id was being used in thread-unsafe way by type::get_by_name. Fixed that.

utkarshayachit commented 2 years ago

@acki-m, any chance of getting this merged? the change is fairly trivial but should help avoid a thread-unsafe section of the code.