Starting with C++17, the type of the mutex being locked no longer needs to be hardcoded into the type declaration.