book: typo fixes

fixes #104
This commit is contained in:
Changkun Ou
2020-07-26 11:04:07 +02:00
parent bfd2f7caaf
commit 1421f372e0

View File

@@ -148,13 +148,13 @@ struct B;
struct A {
std::shared_ptr<B> pointer;
~A() {
std::cout << "A 被销毁" << std::end;
std::cout << "A 被销毁" << std::endl;
}
};
struct B {
std::shared_ptr<A> pointer;
~B() {
std::cout << "B 被销毁" << std::end;
std::cout << "B 被销毁" << std::endl;
}
};
int main() {