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; class AccessRightsContextFactory;
struct User; struct User;
using UserPtr = std::shared_ptr<const User>; using UserPtr = std::shared_ptr<const User>;
struct RoleContext; class RoleContext;
using RoleContextPtr = std::shared_ptr<const RoleContext>; using RoleContextPtr = std::shared_ptr<const RoleContext>;
class RoleContextFactory; class RoleContextFactory;
class RowPolicyContext; class RowPolicyContext;

View File

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

View File

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

View File

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