summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2018-04-14 23:45:23 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2018-04-14 23:45:23 -0700
commitc53fdab93af76106b963216d85897614b996f8b6 (patch)
treecfb68cb076d3f23452639aa9804b7eee3a7948da
parent43b0a6a0a385e61b70cd9f52a41c59aa9774b236 (diff)
Clarify comment in get_strconv_pcdata as well
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index f0eace4..b811ba7 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -2709,7 +2709,7 @@ PUGI__NS_BEGIN
{
PUGI__STATIC_ASSERT(parse_escapes == 0x10 && parse_eol == 0x20 && parse_trim_pcdata == 0x0800);
- switch (((optmask >> 4) & 3) | ((optmask >> 9) & 4)) // get bitmask for flags (eol escapes trim)
+ switch (((optmask >> 4) & 3) | ((optmask >> 9) & 4)) // get bitmask for flags (trim eol escapes); this simultaneously checks 3 options from assertion above
{
case 0: return strconv_pcdata_impl<opt_false, opt_false, opt_false>::parse;
case 1: return strconv_pcdata_impl<opt_false, opt_false, opt_true>::parse;