Skip to content

Commit

Permalink
Add missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtum committed Nov 16, 2023
1 parent 9f81a46 commit b5571f9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/boost/property_tree/detail/file_parser_error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include <boost/property_tree/ptree.hpp>
#include <string>
#include <sstream>

namespace boost { namespace property_tree
{
Expand Down
1 change: 1 addition & 0 deletions include/boost/property_tree/json_parser/detail/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <boost/core/ref.hpp>
#include <boost/bind/bind.hpp>
#include <boost/bind/placeholders.hpp>

#include <iterator>
#include <sstream>
Expand Down
1 change: 1 addition & 0 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ run test_rapidxml.cpp ;
run test_info_parser.cpp ;
run test_json_parser.cpp ;
run test_json_parser2.cpp ;
run test_json_parser3.cpp ;
run test_ini_parser.cpp ;
run test_xml_parser_rapidxml.cpp ;

Expand Down
7 changes: 7 additions & 0 deletions test/test_json_parser3.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#define BOOST_BIND_NO_PLACEHOLDERS
#include <boost/property_tree/json_parser.hpp>

// Must be able to build with BOOST_BIND_NO_PLACEHOLDERS defined
// History: https://github.com/boostorg/property_tree/pull/112#issuecomment-1812867565

int main() {}

0 comments on commit b5571f9

Please sign in to comment.