mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 12:07:51 +03:00
Use some C++17 where it makes the code more readable
Also replace boost::optional
This commit is contained in:
parent
4fc5b6f6f4
commit
1357bba0a0
4 changed files with 32 additions and 35 deletions
|
@ -21,7 +21,7 @@ namespace Misc
|
|||
/// @brief stop execution of threads until count distinct threads reach this point
|
||||
void wait()
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(mMutex);
|
||||
std::unique_lock lock(mMutex);
|
||||
|
||||
++mRendezvousCount;
|
||||
const int currentGeneration = mGeneration;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue