Generic GRANT/REVOKE generation from ACL's complete.

Moved the owned concept to PgServerObject as it is needed for the generic
acl functionality that is also in PgServerObject.
This commit is contained in:
eelke 2018-12-25 13:17:04 +01:00
parent cc0b28e8e0
commit c2c01cf431
23 changed files with 358 additions and 312 deletions

View file

@ -123,7 +123,7 @@ public:
using t_Elem = std::shared_ptr<T>;
using t_Container = std::vector<t_Elem>; ///< Do not assume it will stay a vector only expect bidirectional access
explicit PgSPtrContainer(std::weak_ptr<PgDatabaseCatalog> cat)
explicit PgSPtrContainer(PgDatabaseCatalog& cat)
: IPgContainer(cat)
{}
@ -145,7 +145,7 @@ public:
int count() const
{
return (int)m_container.size();
return static_cast<int>(m_container.size());
}
const t_Elem getByKey(const K &key) const