diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-01-07 12:25:07 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-01-07 12:25:07 -0800 |
commit | 948095edfc04f35a69f15cd7d9926844ee0ac624 (patch) | |
tree | 37544706fb77d5cdf4b952a2745cfa570a7206a2 /core/include/fxcrt/fx_string.h | |
parent | d12a4f465a0bcc8b233079ccd54bf7882f3532d5 (diff) | |
download | pdfium-948095edfc04f35a69f15cd7d9926844ee0ac624.tar.xz |
Add ostream helpers for FX String classes.
This allows integration with the gtest EXPECT_* macros.
R=brucedawson@chromium.org
Review URL: https://codereview.chromium.org/837843002
Diffstat (limited to 'core/include/fxcrt/fx_string.h')
-rw-r--r-- | core/include/fxcrt/fx_string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/include/fxcrt/fx_string.h b/core/include/fxcrt/fx_string.h index 91032f9d97..524d7efde5 100644 --- a/core/include/fxcrt/fx_string.h +++ b/core/include/fxcrt/fx_string.h @@ -18,6 +18,7 @@ class CFX_WideStringL; class CFX_ByteStringC : public CFX_Object { public: + typedef FX_CHAR value_type; CFX_ByteStringC() { @@ -160,6 +161,7 @@ struct CFX_StringData { class CFX_ByteString : public CFX_Object { public: + typedef FX_CHAR value_type; CFX_ByteString() { @@ -473,6 +475,7 @@ typedef CFX_StringBufTemplate<256> CFX_StringBuf256; class CFX_WideStringC : public CFX_Object { public: + typedef FX_WCHAR value_type; CFX_WideStringC() { @@ -618,6 +621,7 @@ struct CFX_StringDataW { class CFX_WideString : public CFX_Object { public: + typedef FX_WCHAR value_type; CFX_WideString() { |