Move to more memory safe implementation of widget holding
This commit is contained in:
@@ -73,7 +73,7 @@ public:
|
||||
|
||||
virtual void draw() override;
|
||||
|
||||
static Widget* builder(const nlohmann::json& j);
|
||||
static std::unique_ptr<Widget> builder(const nlohmann::json& j);
|
||||
};
|
||||
|
||||
#endif // WIDGET_TEXT_H_
|
||||
|
||||
Reference in New Issue
Block a user