Use some C++17 where it makes the code more readable

Also replace boost::optional
This commit is contained in:
fredzio 2020-10-21 11:08:59 +02:00
parent 4fc5b6f6f4
commit 1357bba0a0
4 changed files with 32 additions and 35 deletions

View file

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