mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-23 05:46:06 +00:00
AK: Store the 'extra' field of ScopeLogger as String
It was previously stored as a StringView, which prevented us from using temporary strings in the 'extra' argument. The performance hit doesn't really matter because ScopeLogger is used exclusively for debugging.
This commit is contained in:
@@ -50,7 +50,7 @@ public:
|
||||
private:
|
||||
static inline size_t m_depth = 0;
|
||||
SourceLocation m_location;
|
||||
StringView m_extra;
|
||||
String m_extra;
|
||||
};
|
||||
|
||||
template<>
|
||||
|
||||
Reference in New Issue
Block a user