Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Dec 27, 2024
1 parent 7010467 commit 8ea7474
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/tao/pq/connection_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
namespace tao::pq
{
class connection_pool
: public internal::pool< connection >
: public internal::pool< pq::connection >
{
private:
const std::string m_connection_info;
Expand All @@ -34,7 +34,7 @@ namespace tao::pq
protected:
[[nodiscard]] auto v_create() const -> std::unique_ptr< pq::connection > override;

[[nodiscard]] auto v_is_valid( connection& c ) const noexcept -> bool override
[[nodiscard]] auto v_is_valid( pq::connection& c ) const noexcept -> bool override
{
return c.is_idle();
}
Expand Down Expand Up @@ -88,7 +88,7 @@ namespace tao::pq
m_poll = internal::poll;
}

[[nodiscard]] auto connection() -> std::shared_ptr< connection >;
[[nodiscard]] auto connection() -> std::shared_ptr< pq::connection >;

template< parameter_type... As >
auto execute( const internal::zsv statement, As&&... as )
Expand Down

0 comments on commit 8ea7474

Please sign in to comment.