Skip to content

Commit

Permalink
add a way to disable the check
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Jan 8, 2024
1 parent 695246a commit c35cacd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions STL_Extension/include/CGAL/Named_function_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,12 @@ template <class ... TagsAllowed, class Named_function_parameters>
constexpr
bool authorized_options(const Named_function_parameters& np)
{
#ifndef CGAL_DISABLE_NAMED_FUNCTION_PARAMETERS_CHECKS
return authorized_parameters_impl::authorized_options_rec
<internal_np::all_default_t, TagsAllowed...>(np);
#else
return true;
#endif
}

} // end of parameters namespace
Expand Down

0 comments on commit c35cacd

Please sign in to comment.