mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
patterns: Fixed multiple parse and evaluate issues
This commit is contained in:
@@ -569,7 +569,7 @@ namespace hex::lang {
|
||||
|
||||
class ASTNodeAttribute : public ASTNode {
|
||||
public:
|
||||
explicit ASTNodeAttribute(std::string_view attribute, std::string_view value = { })
|
||||
explicit ASTNodeAttribute(std::string_view attribute, std::optional<std::string_view> value = { })
|
||||
: ASTNode(), m_attribute(attribute), m_value(value) { }
|
||||
|
||||
~ASTNodeAttribute() override = default;
|
||||
|
||||
Reference in New Issue
Block a user