From d9871435eb7cea00a173baf780934f9d3525329a Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 15 Sep 2016 14:01:31 -0700 Subject: Add string pools to save storage. Adds string hashes so CFX strings will interoperate with STL unordered containers. These will be employed per-document in a subsequent cl. BUG=pdfium:597 Review-Url: https://codereview.chromium.org/2341683005 --- core/fxcrt/fx_basic_wstring.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/fxcrt/fx_basic_wstring.cpp') diff --git a/core/fxcrt/fx_basic_wstring.cpp b/core/fxcrt/fx_basic_wstring.cpp index 29e915f30c..377f09c913 100644 --- a/core/fxcrt/fx_basic_wstring.cpp +++ b/core/fxcrt/fx_basic_wstring.cpp @@ -9,12 +9,15 @@ #include #include +#include "core/fxcrt/include/cfx_string_pool_template.h" #include "core/fxcrt/include/fx_basic.h" #include "core/fxcrt/include/fx_ext.h" #include "third_party/base/numerics/safe_math.h" template class CFX_StringDataTemplate; template class CFX_StringCTemplate; +template class CFX_StringPoolTemplate; +template struct std::hash; namespace { -- cgit v1.2.3