Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Oct 25, 2024
1 parent d87a8df commit 5ccd692
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/tao/pq/table_writer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace tao::pq
template< std::size_t... Os, std::size_t... Is, typename... Ts >
void insert_indexed( std::index_sequence< Os... > /*unused*/,
std::index_sequence< Is... > /*unused*/,
const Ts...& ts )
const Ts&... ts )
{
std::string buffer;
( ( ts...[ Os ].template copy_to< Is >( buffer ), buffer += '\t' ), ... );
Expand Down
2 changes: 1 addition & 1 deletion include/tao/pq/transaction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace tao::pq
void send_indexed( const char* statement,
std::index_sequence< Os... > /*unused*/,
std::index_sequence< Is... > /*unused*/,
const Ts...& ts )
const Ts&... ts )
{
const Oid types[] = { static_cast< Oid >( ts...[ Os ].template type< Is >() )... };
const char* const values[] = { ts...[ Os ].template value< Is >()... };
Expand Down

0 comments on commit 5ccd692

Please sign in to comment.