Skip to content

Commit

Permalink
Fix example in data type docs (#821)
Browse files Browse the repository at this point in the history
Missing type in declaration in docs.
  • Loading branch information
ankane committed Apr 20, 2024
1 parent a407cea commit 0b033cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pqxx/doc/datatypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ the API — or how it uses the API internally.
template<> struct string_traits<T>
{
// Do you support converting T to PostgreSQL string format?
static constexpr converts_to_string{true};
static constexpr bool converts_to_string{true};
// Do you support converting PostgreSQL string format to T?
static constexpr converts_from_string{true};
static constexpr bool converts_from_string{true};
// If converts_to_string is true:
Expand Down

0 comments on commit 0b033cb

Please sign in to comment.