mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 00:48:59 +00:00
Oops... forgot setting the sanity flag on...
...after successfull conversion on std::string-based ctor
This commit is contained in:
parent
c9114c376a
commit
841ffcc479
@ -81,6 +81,7 @@ version_info::version_info(const std::string& str)
|
||||
}
|
||||
}
|
||||
}
|
||||
sane_ = true;
|
||||
} catch (bad_lexical_cast const&) {
|
||||
return;
|
||||
} catch (std::out_of_range const&) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user