mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
[subset] fix incorrectly specified lock.
Lock variable must have a name or it will immediately destruct.
This commit is contained in:
1 parent
8d8bcde8cf
commit
79233a1492
1 file changed
+1
-1
@@ -211,7 +211,7 @@ struct hb_subset_plan_t
|
||||
template<typename T>
|
||||
hb_blob_ptr_t<T> source_table()
|
||||
{
|
||||
hb_lock_t (accelerator ? &accelerator->sanitized_table_cache_lock : nullptr);
|
||||
hb_lock_t lock (accelerator ? &accelerator->sanitized_table_cache_lock : nullptr);
|
||||
|
||||
auto *cache = accelerator ? &accelerator->sanitized_table_cache : &sanitized_table_cache;
|
||||
if (cache
|
||||
|
||||
Reference in new issue
Block a user