diff options
author | Albert Astals Cid <aacid@kde.org> | 2020-10-30 15:44:13 +0100 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2020-10-30 15:13:56 +0000 |
commit | 3a6c0f66cf3185658782d3001e778de44ebda8e7 (patch) | |
tree | 7d2972ac336153f3dd6cf3581cafb7f6ac76748e | |
parent | af86c98f5732a65933911a906a4bca633457c8af (diff) |
Dict: Save 8 bytes of memory
It's not a lot, but Dict is used relatively often, so won't hurt for a 1
line code change
-rw-r--r-- | poppler/Dict.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/Dict.h b/poppler/Dict.h index 39192077..688f0671 100644 --- a/poppler/Dict.h +++ b/poppler/Dict.h @@ -110,10 +110,10 @@ private: using DictEntry = std::pair<std::string, Object>; struct CmpDictEntry; - std::atomic_bool sorted; XRef *xref; // the xref table for this PDF file std::vector<DictEntry> entries; std::atomic_int ref; // reference count + std::atomic_bool sorted; mutable std::recursive_mutex mutex; const DictEntry *find(const char *key) const; |