#ifndef PGOBJECT_H #define PGOBJECT_H #include class PgDatabaseCatalog; class PgObject { public: PgObject(); explicit PgObject(std::weak_ptr cat) : catalog(cat) {} protected: std::weak_ptr catalog; }; #endif // PGOBJECT_H