Skip to content

Commit

Permalink
Rename method arguments to avoid collision with linux UAPI macro
Browse files Browse the repository at this point in the history
  • Loading branch information
notdanhan committed Oct 15, 2024
1 parent aeeb091 commit 404c3de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions include/boost/test/impl/test_tree.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -501,16 +501,16 @@ auto_test_unit_registrar::auto_test_unit_registrar( const_string ts_name, const_

//____________________________________________________________________________//

auto_test_unit_registrar::auto_test_unit_registrar( test_unit_generator const& tc_gen, decorator::collector_t& decorators )
auto_test_unit_registrar::auto_test_unit_registrar( test_unit_generator const& tc_generator, decorator::collector_t& decorators )
{
framework::current_auto_test_suite().add( tc_gen, decorators );
framework::current_auto_test_suite().add( tc_generator, decorators );
}

//____________________________________________________________________________//

auto_test_unit_registrar::auto_test_unit_registrar( boost::shared_ptr<test_unit_generator> tc_gen, decorator::collector_t& decorators )
auto_test_unit_registrar::auto_test_unit_registrar( boost::shared_ptr<test_unit_generator> tc_generator, decorator::collector_t& decorators )
{
framework::current_auto_test_suite().add( tc_gen, decorators );
framework::current_auto_test_suite().add( tc_generator, decorators );
}


Expand Down
4 changes: 2 additions & 2 deletions include/boost/test/tree/auto_registration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ struct BOOST_TEST_DECL auto_test_unit_registrar {
// Constructors
auto_test_unit_registrar( test_case* tc, decorator::collector_t& decorators, counter_t exp_fail = 0 );
explicit auto_test_unit_registrar( const_string ts_name, const_string ts_file, std::size_t ts_line, decorator::collector_t& decorators );
explicit auto_test_unit_registrar( test_unit_generator const& tc_gen, decorator::collector_t& decorators );
explicit auto_test_unit_registrar( boost::shared_ptr<test_unit_generator> tc_gen, decorator::collector_t& decorators );
explicit auto_test_unit_registrar( test_unit_generator const& tc_generator, decorator::collector_t& decorators );
explicit auto_test_unit_registrar( boost::shared_ptr<test_unit_generator> tc_generator, decorator::collector_t& decorators );
explicit auto_test_unit_registrar( int );
};

Expand Down

0 comments on commit 404c3de

Please sign in to comment.