From 60318f87153b559e5da103f0bfcce6bad8bab3b0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 9 Oct 2018 22:25:53 -0400 Subject: [PATCH] Minor --- src/hb-mutex.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-mutex.hh b/src/hb-mutex.hh index c49d7a9e5..75b89addb 100644 --- a/src/hb-mutex.hh +++ b/src/hb-mutex.hh @@ -139,8 +139,8 @@ struct hb_mutex_t struct hb_lock_t { - hb_lock_t (hb_mutex_t &mutex_) : mutex (mutex_) { mutex.lock (); } - ~hb_lock_t (void) { mutex.unlock (); } + inline hb_lock_t (hb_mutex_t &mutex_) : mutex (mutex_) { mutex.lock (); } + inline ~hb_lock_t (void) { mutex.unlock (); } private: hb_mutex_t &mutex; };