mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
sys: Return std::nullopt instead of {} for empty optional values
This commit is contained in:
@@ -212,7 +212,7 @@ namespace hex::pl {
|
||||
}
|
||||
} catch (PreprocessorError &e) {
|
||||
this->m_error = e;
|
||||
return {};
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
return output;
|
||||
|
||||
Reference in New Issue
Block a user