diff --git a/src/common.h b/src/common.h index 485512c5a..6df127206 100644 --- a/src/common.h +++ b/src/common.h @@ -338,8 +338,7 @@ void format_ullong_safe(wchar_t buff[64], unsigned long long val); /// "Narrows" a wide character string. This just grabs any ASCII characters and trunactes. void narrow_string_safe(char buff[64], const wchar_t *s); -typedef std::lock_guard scoped_lock; -typedef std::lock_guard scoped_rlock; +using scoped_lock = std::lock_guard; // An object wrapping a scoped lock and a value // This is returned from owning_lock.acquire()