Skip to content

Commit

Permalink
Fix GCC 8
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Dec 17, 2023
1 parent 63ed8e6 commit fda6a4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/tao/pq/parameter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ namespace tao::pq

public:
template< typename... As >
explicit parameter( As&&... as ) noexcept( noexcept( parameter::bind( std::forward< As >( as )... ) ) )
explicit parameter( As&&... as ) noexcept( noexcept( std::declval< parameter >().bind( std::forward< As >( as )... ) ) )
{
parameter::bind( std::forward< As >( as )... );
}
Expand All @@ -125,7 +125,7 @@ namespace tao::pq
}

template< typename... As >
void reset( As&&... as ) noexcept( noexcept( parameter::bind( std::forward< As >( as )... ) ) )
void reset( As&&... as ) noexcept( noexcept( std::declval< parameter >().bind( std::forward< As >( as )... ) ) )
{
for( std::size_t i = 0; i != m_pos; ++i ) {
delete m_params[ i ];
Expand Down

0 comments on commit fda6a4d

Please sign in to comment.