summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-06-13 23:06:39 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-06-14 16:09:58 +0430
commit5bfe601152b99afa4dfad07ccd47eb9302ac56c1 (patch)
tree856b815f36880e9973395bedfcbbb2ae1151b7db
parenta167941852f5547a23eb4a0b26460fe7bc0dbbbc (diff)
downloadserenity-5bfe601152b99afa4dfad07ccd47eb9302ac56c1.zip
LibRegex: Remove unused code
-rw-r--r--Userland/Libraries/LibRegex/RegexByteCode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibRegex/RegexByteCode.h b/Userland/Libraries/LibRegex/RegexByteCode.h
index ca7cbf10fe..df5207877d 100644
--- a/Userland/Libraries/LibRegex/RegexByteCode.h
+++ b/Userland/Libraries/LibRegex/RegexByteCode.h
@@ -501,8 +501,6 @@ public:
ALWAYS_INLINE void set_bytecode(ByteCode& bytecode) { m_bytecode = &bytecode; }
- ALWAYS_INLINE void reset_state() { m_state = nullptr; }
-
ALWAYS_INLINE const MatchState& state() const
{
VERIFY(m_state);