Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70840 - trunk/boost/spirit/home/support/utree/detail
From: blelbach_at_[hidden]
Date: 2011-04-01 19:16:38


Author: wash
Date: 2011-04-01 19:16:37 EDT (Fri, 01 Apr 2011)
New Revision: 70840
URL: http://svn.boost.org/trac/boost/changeset/70840

Log:
Fixing issue in utree.tag().

Text files modified:
   trunk/boost/spirit/home/support/utree/detail/utree_detail2.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/spirit/home/support/utree/detail/utree_detail2.hpp
==============================================================================
--- trunk/boost/spirit/home/support/utree/detail/utree_detail2.hpp (original)
+++ trunk/boost/spirit/home/support/utree/detail/utree_detail2.hpp 2011-04-01 19:16:37 EDT (Fri, 01 Apr 2011)
@@ -1497,6 +1497,7 @@
         switch (get_type())
         {
             case type::string_type:
+ case type::string_range_type:
             case type::binary_type:
             case type::symbol_type:
               boost::throw_exception(bad_type_exception());
@@ -1511,6 +1512,7 @@
         switch (get_type())
         {
             case type::string_type:
+ case type::string_range_type:
             case type::binary_type:
             case type::symbol_type:
               boost::throw_exception(bad_type_exception());


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk