Opened 13 years ago

Closed 13 years ago

#3838 closed Bugs (fixed)

property_tree::file_parser_error member functions not 'const'

Reported by: schroeder.alexander@… Owned by: Sebastian Redl
Milestone: Boost 1.42.0 Component: property_tree
Version: Boost 1.41.0 Severity: Problem
Keywords: Cc:

Description

The information functions

  • message
  • filename
  • line

in the property_tree::file_parser_error are not declared const. This makes calling them on an exception catched (as const reference) unneccessary ugly (by needing a cast which would not be needed).

Change History (1)

comment:1 by Sebastian Redl, 13 years ago

Resolution: fixed
Status: newclosed

(In [59741]) file_parser_error's property getters ought to be const. Now they are. Fixes bug 3838.

Note: See TracTickets for help on using tickets.