aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/include/pqxx/internal/gates/errorhandler-connection.hxx
blob: 1b118e561044a7312750f5144e474ac71cd6ae29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <pqxx/internal/callgate.hxx>

namespace pqxx
{
namespace internal
{
namespace gate
{
class PQXX_PRIVATE errorhandler_connection_base : callgate<errorhandler>
{
  friend class pqxx::connection_base;

  errorhandler_connection_base(reference x) : super(x) {}

  void unregister() noexcept { home().unregister(); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx