From 28e886ecd3ba29bcbd62f62975ec7c230341df81 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 26 Jun 2024 13:43:55 +0000 Subject: [PATCH] posts: polymorphic-flyweight: fix typo --- content/posts/2020-07-22-polymorphic-flyweight-cpp/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/2020-07-22-polymorphic-flyweight-cpp/index.md b/content/posts/2020-07-22-polymorphic-flyweight-cpp/index.md index 5ff4b1f..2311002 100644 --- a/content/posts/2020-07-22-polymorphic-flyweight-cpp/index.md +++ b/content/posts/2020-07-22-polymorphic-flyweight-cpp/index.md @@ -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); }