• Albert Astals Cid's avatar
    Small improvements over locker class · 677e5b26
    Albert Astals Cid authored
     * Remove the namespace (we don't use much/any namespaces in poppler core)
     * Rename the class and defines from lock to locker since lock and be either the action "to lock" or the "thing that locks", with locker it is more clear (i think) that is "the thing" than "the action"
     * Make Annot::decRefCnt use gLockMutex since we the object itself is being deleted in the if and not sure the locker would be happy with that
     * change the getNumPages() param to be DoNotLockMutex since previously it was a gFalse (i guess Thomas made a c&p typo here)
     * Have only one constructor like Adam suggested.
Array.cc 3.05 KB