ZeroTierOne/ext/libpqxx-7.7.3/include/pqxx/internal/gates/errorhandler-connection.hxx
2022-06-24 10:12:36 -07:00

14 lines
323 B
C++

#include <pqxx/internal/callgate.hxx>
namespace pqxx::internal::gate
{
class PQXX_PRIVATE errorhandler_connection : callgate<errorhandler>
{
friend class pqxx::connection;
errorhandler_connection(reference x) : super(x) {}
void unregister() noexcept { home().unregister(); }
};
} // namespace pqxx::internal::gate