summaryrefslogtreecommitdiff
path: root/external/liborcus/0001-mark-more-symbols-as-public.patch
blob: ee9658e07ae84bf55ab8027acfae452ba53b5811 (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
51
52
From 718b1adfe9c327e06b1ab796c5cd9805db63c9b3 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 3 Jun 2015 07:46:50 +0200
Subject: [PATCH] mark more symbols as public

---
 include/orcus/xml_structure_tree.hpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/orcus/xml_structure_tree.hpp b/include/orcus/xml_structure_tree.hpp
index 097e56c..58cabfd 100644
--- a/include/orcus/xml_structure_tree.hpp
+++ b/include/orcus/xml_structure_tree.hpp
@@ -31,7 +31,7 @@ class ORCUS_DLLPUBLIC xml_structure_tree
 
 public:
 
-    struct entity_name
+    struct ORCUS_DLLPUBLIC entity_name
     {
         xmlns_id_t ns;
         pstring name;
@@ -42,7 +42,7 @@ public:
         bool operator< (const entity_name& r) const;
         bool operator== (const entity_name& r) const;
 
-        struct hash
+        struct ORCUS_DLLPUBLIC hash
         {
             size_t operator ()(const entity_name& val) const;
         };
@@ -50,7 +50,7 @@ public:
 
     typedef std::vector<entity_name> entity_names_type;
 
-    struct element
+    struct ORCUS_DLLPUBLIC element
     {
         entity_name name;
         bool repeat;
@@ -64,7 +64,7 @@ public:
     /**
      * This class allows client to traverse the tree.
      */
-    class walker
+    class ORCUS_DLLPUBLIC walker
     {
         friend class xml_structure_tree;
         walker_impl* mp_impl;
-- 
2.4.1