ClickHouse/src/Access/IAccessEntity.cpp
Vitaly Baranov dd8b29b4fb Use enum Type instead of std::type_index to represent the type of IAccessEntity.
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00

13 lines
187 B
C++

#include <Access/IAccessEntity.h>
namespace DB
{
bool IAccessEntity::equal(const IAccessEntity & other) const
{
return (name == other.name) && (getType() == other.getType());
}
}