mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 08:32:03 +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_; }
|
const std::string& str() const { return str_; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
formula();
|
formula() : expr_(), str_()
|
||||||
|
{}
|
||||||
expression_ptr expr_;
|
expression_ptr expr_;
|
||||||
std::string str_;
|
std::string str_;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user