策略抽离
This commit is contained in:
@@ -84,7 +84,8 @@ std::shared_ptr<Constellation_Diagram> Constellation_Diagram::Builder::build() {
|
||||
auto ret = renderive::make_shared<Constellation_Diagram>();
|
||||
ret->init(parent);
|
||||
Constellation_Diagram_Private* pd = ret->d();
|
||||
Constellation_Diagram_State* sc = reinterpret_cast<Constellation_Diagram_State*>(pd->edit_state());
|
||||
Render_Edit_Lease<Constellation_Diagram_Private, Constellation_Diagram_State> edit(pd);
|
||||
Constellation_Diagram_State* sc = edit.operator->();
|
||||
PROP_R(std::weak_ptr<Axis>, i_axis)
|
||||
PROP_R(std::weak_ptr<Axis>, q_axis)
|
||||
PROP_R(Range, i_range)
|
||||
|
||||
Reference in New Issue
Block a user