summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/patches/patch-ar
blob: e536698be361b7410c812243817ceb7075d85951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ar,v 1.3 2012/07/02 07:02:26 adam Exp $

--- boost/property_tree/detail/xml_parser_read_rapidxml.hpp.orig	2010-10-15 12:40:04.000000000 +0000
+++ boost/property_tree/detail/xml_parser_read_rapidxml.hpp
@@ -106,13 +106,13 @@ namespace boost { namespace property_tre
 
         try {
             // Parse using appropriate flags
-            const int f_tws = parse_normalize_whitespace
-                            | parse_trim_whitespace;
+            const int f_tws = (parse_normalize_whitespace
+                            | parse_trim_whitespace);
             const int f_c = parse_comment_nodes;
             // Some compilers don't like the bitwise or in the template arg.
-            const int f_tws_c = parse_normalize_whitespace
+            const int f_tws_c = (parse_normalize_whitespace
                               | parse_trim_whitespace
-                              | parse_comment_nodes;
+                              | parse_comment_nodes);
             xml_document<Ch> doc;
             if (flags & no_comments) {
                 if (flags & trim_whitespace)