summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_annothandlermgr.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2017-01-04 11:31:47 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-04 11:31:47 -0800
commitdc39e377e1a3923e63569020beb29f9662c1a3ee (patch)
treea6cd7345b12610eb0cf840932cb72f2a0e2856af /fpdfsdk/cpdfsdk_annothandlermgr.cpp
parent6745f96fab41e2b46f57a3717b034a4064c0de02 (diff)
downloadpdfium-dc39e377e1a3923e63569020beb29f9662c1a3ee.tar.xz
Add missing operator<() to CFX_RetainPtr.
Use std::less<>() rather than a direct ptr1 < ptr2 comparison to be strictly correct in face of unspecified behaviour when ptr1 and ptr2 don't point within the same "object" (e.g. segment of memory on a brain-dead segmented architecture). This will allow their use as keys in maps. Review-Url: https://codereview.chromium.org/2616683002
Diffstat (limited to 'fpdfsdk/cpdfsdk_annothandlermgr.cpp')
0 files changed, 0 insertions, 0 deletions