Converting integer types to pointer types can lead to portability issues and unspecified behavior if the pointer and integer types become of different sizes. Occurrences:
Consider using a std::lock_guard object instead of locking and locking std::mutex explicitly. std::lock_guard will unlock the mutex once it runs out of scope and is destructed. Occurrences:
DeepCode's analysis on #062fe6 found:
Top issues
👉 View analysis in DeepCode’s Dashboard | Configure the bot