[Boost-bugs] [Boost C++ Libraries] #4792: missing <cassert> include

Subject: [Boost-bugs] [Boost C++ Libraries] #4792: missing <cassert> include
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-26 10:29:08


#4792: missing <cassert> include
------------------------------------------------------+---------------------
 Reporter: Maxim Yanchenko <Maxim.Yanchenko@…> | Owner: cornedbee
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_tree
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
------------------------------------------------------+---------------------
 boost/property_tree/string_path.hpp uses assert without including
 <cassert> explicitly, so it doesn't compile (e.g. with STLPort 5.2.1 which
 doesn't include <cassert> itself by default).

 Another file without this include:
 boost/property_tree/detail/ptree_implementation.hpp

 Other files that use assert already include <cassert> (namely,
 boost/property_tree/detail/rapidxml.hpp)

 Should be easy to fix.
 Thanks.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4792>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC