-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove uses of Yuni::Mutex
, use std::mutex
instead
#1823
Remove uses of Yuni::Mutex
, use std::mutex
instead
#1823
Conversation
Watermelon AI SummaryAI Summary deactivated by NicolasSalmieriScalian No results found in GitHub PRs :( No results found in Jira Tickets :( No results found in Confluence Docs :( No results found in Slack Threads :( No results found in Notion Pages :( No results found in Linear Tickets :( No results found in Asana Tasks :( Antares_Simulator is an open repo and Watermelon will serve it for free. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We usually don't specify template arguments when they're obvious, from C++17 they're deduced, see here. We have been using C++17 for over a year, and will soon be using C++20.
std::mutex mutex;
std::lock_guard<std::mutex> lock(mutex); // C++03/C++11
std::lock_guard lock(mutex); // C++17
Yuni::Mutex
, use std::mutex
instead
Should I remove all obvious template arguments of std::lock_guard in the codebase, or just those I added? |
Can you please remove them all ? |
you named this Pr "Remove uses of Yuni::Mutex, use std::mutex instead " should i.... |
Hi @NicolasSalmieriScalian, can you please resolve conflicts ? Our license has switched to MPL 2.0, allowing us to merge PRs from you |
See #1964 |
No description provided.