SH, fix typo

This commit is contained in:
Jakob Lykke Andersen 2021-06-24 14:00:00 +02:00 committed by Ralf W. Grosse-Kunstleve
parent b735093fde
commit ee53a45ffd

View File

@ -13,11 +13,11 @@ const std::string fooNames[] = {"ShPtr_", "SmHld_"};
template <int SerNo> template <int SerNo>
struct Foo { struct Foo {
std::string hisotry; std::string history;
Foo(const std::string &hisotry_) : hisotry(hisotry_) {} Foo(const std::string &history_) : history(history_) {}
Foo(const Foo &other) = delete; Foo(const Foo &other) = delete;
Foo(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>; using FooShPtr = Foo<0>;