poppler/Dict.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3a6c0f66cf3185658782d3001e778de44ebda8e7
Author: Albert Astals Cid <[email protected]>
Date:   Fri Oct 30 15:44:13 2020 +0100

    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

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;
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to