Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Dec 10, 2024
1 parent 57ddbde commit 2d96e74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/tao/pq/table_field.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ namespace tao::pq
return as< std::optional< T > >();
}

[[nodiscard]] auto operator==( null_t /*unused*/ )
{
return is_null();
}

friend void swap( table_field& lhs, table_field& rhs ) noexcept
{
std::swap( lhs.m_row, rhs.m_row );
std::swap( lhs.m_column, rhs.m_column );
}
};

[[nodiscard]] inline auto operator==( const table_field& f, null_t /*unused*/ )
{
return f.is_null();
}

} // namespace tao::pq

#endif

0 comments on commit 2d96e74

Please sign in to comment.