Opened 12 years ago

Closed 12 years ago

#4792 closed Bugs (duplicate)

missing <cassert> include

Reported by: Maxim Yanchenko <Maxim.Yanchenko@…> Owned by: Sebastian Redl
Milestone: To Be Determined Component: property_tree
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by Sebastian Redl, 12 years ago

Resolution: duplicate
Status: newclosed

Dupe of bug 4448.

Note: See TracTickets for help on using tickets.