posts: polymorphic-flyweight: fix typo

This commit is contained in:
Bruno BELANYI 2024-06-26 13:43:55 +00:00
parent c3fced1626
commit 03866def1d

View file

@ -68,7 +68,7 @@ public:
const std::type_index lhs_i(lhs);
const std::type_index rhs_i(rhs);
if (lhs_i != rhs_i)
returh lhs_i < rhs_i;
return lhs_i < rhs_i;
// We are now assured that both classes have the same type
return less_than(rhs);
}