aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/poppler/private-namespace.patch
blob: 052fa0a0771301a84560837439a8ac4aca5b96d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
diff --git a/poppler/Gfx.h b/poppler/Gfx.h
index 81a620b..ecfb449 100644
--- a/poppler/Gfx.h
+++ b/poppler/Gfx.h
@@ -48,7 +48,10 @@ class PDFDoc;
 class XRef;
 class Array;
 class Stream;
+namespace poppler_private {
 class Parser;
+}
+using namespace poppler_private;
 class Dict;
 class Function;
 class OutputDev;
diff --git a/poppler/Parser.h b/poppler/Parser.h
index b379b67..c3d85bd 100644
--- a/poppler/Parser.h
+++ b/poppler/Parser.h
@@ -33,6 +33,7 @@
 // Parser
 //------------------------------------------------------------------------
 
+namespace poppler_private {
 class POPPLER_PRIVATE_EXPORT Parser
 {
 public:
@@ -72,5 +73,7 @@ private:
     void shift(int objNum = -1);
     void shift(const char *cmdA, int objNum);
 };
+}
+using namespace poppler_private;
 
 #endif
diff --git a/poppler/XRef.h b/poppler/XRef.h
index e2b2ca8..7d6acbb 100644
--- a/poppler/XRef.h
+++ b/poppler/XRef.h
@@ -46,7 +46,10 @@
 
 class Dict;
 class Stream;
+namespace poppler_private {
 class Parser;
+}
+using namespace poppler_private;
 class ObjectStream;
 
 //------------------------------------------------------------------------