Files
2013-09-26 17:14:40 +02:00

23 lines
1.1 KiB
Plaintext

$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)