Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Dec 17, 2023
1 parent fda6a4d commit d7c89c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/tao/pq/parameter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ namespace tao::pq
{
class transaction;

// NOTE: for now, this is experimental and might change or vanish at any time!
// TODO: naming?
template< std::size_t Max = 16 >
class parameter
{
private:
struct vbase
{
explicit vbase() noexcept = default;
vbase() noexcept = default;
virtual ~vbase() = default;

vbase( const vbase& ) = delete;
Expand Down Expand Up @@ -70,7 +68,7 @@ namespace tao::pq
friend class transaction;

template< typename T, std::size_t... Is >
void fill( const T& t, std::index_sequence< Is... > /*unused*/ ) // TODO: noexcept( ... )?
void fill( const T& t, std::index_sequence< Is... > /*unused*/ )
{
( ( m_types[ m_size + Is ] = static_cast< Oid >( t.template type< Is >() ) ), ... );
( ( m_values[ m_size + Is ] = t.template value< Is >() ), ... );
Expand Down

0 comments on commit d7c89c7

Please sign in to comment.