From fe334bf620450c306862793f71b93056ef41b9d1 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 6 Feb 2021 13:32:38 -0800 Subject: [PATCH] Remove scoped_rlock It is unused. --- src/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()