diff options
Diffstat (limited to 'Userland/Libraries/LibRegex/RegexLexer.h')
-rw-r--r-- | Userland/Libraries/LibRegex/RegexLexer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibRegex/RegexLexer.h b/Userland/Libraries/LibRegex/RegexLexer.h index 0c42759069..01c086b2c3 100644 --- a/Userland/Libraries/LibRegex/RegexLexer.h +++ b/Userland/Libraries/LibRegex/RegexLexer.h @@ -61,7 +61,7 @@ public: private: TokenType m_type { TokenType::Eof }; size_t m_position { 0 }; - StringView m_value { nullptr }; + StringView m_value {}; }; class Lexer : public GenericLexer { @@ -77,7 +77,7 @@ public: private: size_t m_previous_position { 0 }; - Token m_current_token { TokenType::Eof, 0, StringView(nullptr) }; + Token m_current_token { TokenType::Eof, 0, {} }; }; } |