Fix warning "struct previously declared as class".

This commit is contained in:
Vitaly Baranov 2020-02-22 23:02:16 +03:00
parent 00ebd7f7b6
commit f26e058f88
4 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ using AccessRightsContextPtr = std::shared_ptr<const AccessRightsContext>;
class AccessRightsContextFactory;
struct User;
using UserPtr = std::shared_ptr<const User>;
struct RoleContext;
class RoleContext;
using RoleContextPtr = std::shared_ptr<const RoleContext>;
class RoleContextFactory;
class RowPolicyContext;

View File

@ -20,9 +20,9 @@ struct CurrentRolesInfo;
using CurrentRolesInfoPtr = std::shared_ptr<const CurrentRolesInfo>;
class RoleContext;
using RoleContextPtr = std::shared_ptr<const RoleContext>;
struct RowPolicyContext;
class RowPolicyContext;
using RowPolicyContextPtr = std::shared_ptr<const RowPolicyContext>;
struct QuotaContext;
class QuotaContext;
using QuotaContextPtr = std::shared_ptr<const QuotaContext>;
struct Settings;
class AccessControlManager;

View File

@ -13,7 +13,7 @@ namespace DB
{
struct Role;
using RolePtr = std::shared_ptr<const Role>;
class CurrentRolesInfo;
struct CurrentRolesInfo;
using CurrentRolesInfoPtr = std::shared_ptr<const CurrentRolesInfo>;
class AccessControlManager;

View File

@ -7,7 +7,7 @@
namespace DB
{
class ASTCreateUserQuery;
class GenericRoleSet;
struct GenericRoleSet;
struct User;