commit | 54ece299bcb3436763cc4f3b6b0ca11de8133b28 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Tue Apr 16 16:45:53 2019 -0400 |
committer | Behdad Esfahbod <[email protected]> | Tue Apr 16 16:45:53 2019 -0400 |
tree | 243200a87feefc3a076efa21cf9f5d2f275fb0d1 | |
parent | 1ce11b44375dae74e8984ace1db4f08c51ac9c38 [diff] [blame] |
Use type aliasing for meta-functions, ie. those returning a type
diff --git a/src/hb-atomic.hh b/src/hb-atomic.hh index a2ce8f2..8307a54 100644 --- a/src/hb-atomic.hh +++ b/src/hb-atomic.hh
@@ -283,7 +283,7 @@ template <typename P> struct hb_atomic_ptr_t { - typedef hb_remove_pointer (P) T; + typedef hb_remove_pointer<P> T; void init (T* v_ = nullptr) { set_relaxed (v_); } void set_relaxed (T* v_) { hb_atomic_ptr_impl_set_relaxed (&v, v_); }