dbms: tiny improvement (not breaking the build this time). [#METR-2807]

This commit is contained in:
Michael Kolupaev 2014-07-10 12:18:58 +04:00
parent 6644701830
commit 3288bd5765

View File

@ -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::make_pair(std::cref(name), type->getName()) < std::make_pair(std::cref(rhs.name), rhs.type->getName());
}
bool operator==(const NameAndTypePair & rhs) const