posts: polymorphic-flyweight: fix typo

This commit is contained in:
Bruno BELANYI 2024-06-26 13:43:55 +00:00
parent 8a8de126c1
commit 28e886ecd3

View file

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