View | Details | Raw Unified | Return to bug 220613 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-src_pcrewrap.cc (+20 lines)
Line 0 Link Here
1
--- src/pcrewrap.cc.orig	2018-05-18 21:33:20 UTC
2
+++ src/pcrewrap.cc
3
@@ -74,7 +74,7 @@ get_capturecount(void const * bd)
4
 namespace pcre
5
 {
6
   typedef map<char const *,
7
-              pair<struct real_pcre const *, struct pcre_extra const *> >
8
+              pair<struct real_pcre8_or_16 const *, struct pcre_extra const *> >
9
               regex_cache;
10
 
11
   class regex_cache_manager
12
@@ -86,7 +86,7 @@ namespace pcre (public)
13
       }
14
 
15
     void store(char const * pattern,
16
-               pair<struct real_pcre const *, struct pcre_extra const *>
17
+               pair<struct real_pcre8_or_16 const *, struct pcre_extra const *>
18
                data)
19
       {
20
         cache[pattern] = data;
(-)files/patch-src_pcrewrap.hh (+20 lines)
Line 0 Link Here
1
--- src/pcrewrap.hh.orig	2018-05-18 21:33:29 UTC
2
+++ src/pcrewrap.hh
3
@@ -18,7 +18,7 @@
4
 // definitions and so we don't actually expose it here. Unfortunately, this
5
 // means we have to hope this pair of forward declarations will not change...
6
 
7
-struct real_pcre;
8
+struct real_pcre8_or_16;
9
 struct pcre_extra;
10
 
11
 namespace pcre
12
@@ -61,7 +61,7 @@ namespace pcre
13
     regex & operator=(regex const &);
14
 
15
     // data
16
-    struct real_pcre const * basedat;
17
+    struct real_pcre8_or_16 const * basedat;
18
     struct pcre_extra const * extradat;
19
 
20
     // used by constructors

Return to bug 220613