mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 22:27:15 +00:00
Fixed formula constructor to initialize variables
This commit is contained in:
parent
864f070d43
commit
fa10eb8587
@ -50,7 +50,8 @@ public:
|
||||
const std::string& str() const { return str_; }
|
||||
|
||||
private:
|
||||
formula();
|
||||
formula() : expr_(), str_()
|
||||
{}
|
||||
expression_ptr expr_;
|
||||
std::string str_;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user