mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: tiny improvement. [#METR-2807]
This commit is contained in:
parent
a2a41113e0
commit
f48de01d8d
@ -24,7 +24,7 @@ struct NameAndTypePair
|
||||
|
||||
bool operator<(const NameAndTypePair & rhs) const
|
||||
{
|
||||
return std::make_pair(name, type->getName()) < std::make_pair(rhs.name, rhs.type->getName());
|
||||
return std::tie(name, type->getName()) < std::tie(rhs.name, rhs.type->getName());
|
||||
}
|
||||
|
||||
bool operator==(const NameAndTypePair & rhs) const
|
||||
|
Loading…
Reference in New Issue
Block a user