diff options
author | Tom Sepez <tsepez@chromium.org> | 2024-05-09 21:07:55 +0000 |
---|---|---|
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-05-09 21:07:55 +0000 |
commit | 43a3a2b38413db14029a0f03939931803e3fb77d (patch) | |
tree | 92f1d16a14db085eaced99d291408efc0568ac01 /core/fxcrt/widestring.cpp | |
parent | d94fd720a00332a40bfa0f3a1da06589c450c24f (diff) | |
download | pdfium-43a3a2b38413db14029a0f03939931803e3fb77d.tar.gz |
Remove <string.h> inclusion from {Byte,Wide}String headers.
Note that <string> (C++) contains the char_traits functions
that replace <string.h> (C) functions.
-- Implement GetStringLength() in string_data_template.
Change-Id: Ib07533584bd5cab87d669f83debdee55df43213a
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/118931
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Thomas Sepez <tsepez@google.com>
Diffstat (limited to 'core/fxcrt/widestring.cpp')
-rw-r--r-- | core/fxcrt/widestring.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fxcrt/widestring.cpp b/core/fxcrt/widestring.cpp index 944cb825d..60e11f108 100644 --- a/core/fxcrt/widestring.cpp +++ b/core/fxcrt/widestring.cpp @@ -8,6 +8,7 @@ #include <stddef.h> #include <string.h> +#include <wchar.h> #include <algorithm> #include <sstream> |