d49b8b6594
New Libraries * Algorithm: A collection of useful generic algorithms, from Marshall Clow. This includes several different searching algorithms, as well as most of the new algorithms from the C++11 standard library * Functional/OverloadedFunction: Overload different functions into a single function object, from Lorenzo Caminiti. * LocalFunction: Program functions locally, within other functions, directly within the scope where they are needed, from Lorenzo Caminiti. * Utility/IdentityType: Wrap types within round parenthesis so they can always be passed as macro parameters, from Lorenzo Caminiti. More http://www.boost.org/users/history/version_1_50_0.html
22 lines
1.1 KiB
Text
22 lines
1.1 KiB
Text
$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)
|