DescriptionAdd missing operators for CFX_ByteStringC.
Removing the implicit cast operator forces a build breakage should we
use ByteStringC in STL containers. Adding an operator< restores correct
behaviour. Adding an operator[] avoids re-writing some code to call
GetPtr() prior to array indexing.
Part 1 of 4.
R=thestig@chromium.org
TBR=brucedawson@chromium.org
BUG=pdfium:142
.
Committed: https://pdfium.googlesource.com/pdfium/+/1ddf056da74de0a34631b8a719f4f02b4ec82144
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove spurious include. #Patch Set 3 : one more test. #
Total comments: 6
Patch Set 4 : Make operator const. #Patch Set 5 : use size_t #
Messages
Total messages: 10 (2 generated)
|