From ee53a45ffdfeb072718209553a7d8f10c6ee2313 Mon Sep 17 00:00:00 2001 From: Jakob Lykke Andersen Date: Thu, 24 Jun 2021 14:00:00 +0200 Subject: [PATCH] SH, fix typo --- tests/test_class_sh_shared_ptr_copy_move.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_class_sh_shared_ptr_copy_move.cpp b/tests/test_class_sh_shared_ptr_copy_move.cpp index ded0a40d7..5f2644fc8 100644 --- a/tests/test_class_sh_shared_ptr_copy_move.cpp +++ b/tests/test_class_sh_shared_ptr_copy_move.cpp @@ -13,11 +13,11 @@ const std::string fooNames[] = {"ShPtr_", "SmHld_"}; template struct Foo { - std::string hisotry; - Foo(const std::string &hisotry_) : hisotry(hisotry_) {} + std::string history; + Foo(const std::string &history_) : history(history_) {} Foo(const Foo &other) = delete; Foo(Foo &&other) = delete; - std::string get_history() const { return "Foo" + fooNames[SerNo] + hisotry; } + std::string get_history() const { return "Foo" + fooNames[SerNo] + history; } }; using FooShPtr = Foo<0>;