diff options
Diffstat (limited to 'Userland/Libraries/LibMarkdown/Heading.cpp')
-rw-r--r-- | Userland/Libraries/LibMarkdown/Heading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibMarkdown/Heading.cpp b/Userland/Libraries/LibMarkdown/Heading.cpp index 1dd321f8e5..21dff3f039 100644 --- a/Userland/Libraries/LibMarkdown/Heading.cpp +++ b/Userland/Libraries/LibMarkdown/Heading.cpp @@ -50,7 +50,7 @@ OwnPtr<Heading> Heading::parse(LineIterator& lines) if (lines.is_end()) return {}; - const StringView& line = *lines; + StringView line = *lines; size_t level; for (level = 0; level < line.length(); level++) { |