mirror of
https://github.com/hyprwm/hyprlang.git
synced 2025-12-20 20:10:03 +01:00
config/parser: fix invalid ptr after move
This commit is contained in:
parent
995db114b8
commit
771e915f59
1 changed files with 4 additions and 3 deletions
|
|
@ -796,6 +796,7 @@ CParseResult CConfig::parseLine(std::string line, bool dynamic) {
|
|||
auto [f, rv] = configSetValueSafe(LHS, RHS);
|
||||
found = f;
|
||||
ret = std::move(rv);
|
||||
ret.errorString = ret.errorStdString.c_str();
|
||||
}
|
||||
|
||||
if (!found) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue