Skip to content

Commit 35f3cce

Browse files
committed
SH, fix typo
1 parent 93256dd commit 35f3cce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_class_sh_shared_ptr_copy_move.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ const std::string fooNames[] = {"ShPtr_", "SmHld_"};
1313

1414
template <int SerNo>
1515
struct Foo {
16-
std::string hisotry;
17-
Foo(const std::string &hisotry_) : hisotry(hisotry_) {}
16+
std::string history;
17+
Foo(const std::string &history_) : history(history_) {}
1818
Foo(const Foo &other) = delete;
1919
Foo(Foo &&other) = delete;
20-
std::string get_history() const { return "Foo" + fooNames[SerNo] + hisotry; }
20+
std::string get_history() const { return "Foo" + fooNames[SerNo] + history; }
2121
};
2222

2323
using FooShPtr = Foo<0>;

0 commit comments

Comments
 (0)