mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 18:56:24 +00:00
be7ce4110e
This reverts commit e96515433d
.
15 lines
354 B
C++
15 lines
354 B
C++
#include <pqxx/internal/callgate.hxx>
|
|
|
|
namespace pqxx::internal::gate
|
|
{
|
|
class PQXX_PRIVATE result_connection : callgate<result const>
|
|
{
|
|
friend class pqxx::connection;
|
|
|
|
result_connection(reference x) : super(x) {}
|
|
|
|
operator bool() const { return bool(home()); }
|
|
bool operator!() const { return not home(); }
|
|
};
|
|
} // namespace pqxx::internal::gate
|