Switch to cmake + vcpkg, builds on linux, windows needs verification.
Code has been modified to be portable.
This commit is contained in:
parent
c1a5ac1aad
commit
49f6619a4e
34 changed files with 678 additions and 327 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <QString>
|
||||
#include "PgObject.h"
|
||||
#include "PgAcl.h"
|
||||
#include <boost/optional.hpp>
|
||||
#include <optional>
|
||||
|
||||
class PgAuthId;
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ public:
|
|||
* @brief setAcls
|
||||
* @param acls Important: pass empty optional when acl IS NULL, pass empty list for empty array
|
||||
*/
|
||||
void setAcls(boost::optional<AclList> acls);
|
||||
void setAcls(std::optional<AclList> acls);
|
||||
QString aclString() const;
|
||||
/**
|
||||
* @brief grantSql
|
||||
|
|
@ -53,7 +53,7 @@ protected:
|
|||
private:
|
||||
Oid m_ownerOid = InvalidOid;
|
||||
const PgAuthId * m_owner = nullptr;
|
||||
boost::optional<AclList> m_acls;
|
||||
std::optional<AclList> m_acls;
|
||||
};
|
||||
|
||||
#endif // PGSERVEROBJECT_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue