Skip to content

修改了Builder类的Product指针为Product#35

Open
modao233 wants to merge 1 commit intome115:masterfrom
modao233:master
Open

修改了Builder类的Product指针为Product#35
modao233 wants to merge 1 commit intome115:masterfrom
modao233:master

Conversation

@modao233
Copy link

Builder.h里的producted成员使用指针的话,默认初始化是nullptr,导致在ConcreteBuilder.cpp里使用指针调用Product类的成员出现错误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant