FengJungle/DesignPattern

重复析构

Closed this issue · 2 comments

05.PrototypePattern/2.Code/main.cpp
#53 delete jungleModel;

主函数中析构了jungleModel
而在jungleWork的析构函数中又一次析构了jungleModel。

Thanks. I have fixed it and commit.