1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +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:
Itamar 2021-06-26 14:44:32 +03:00 committed by Ali Mohammad Pur
parent 87e6d5351e
commit 316fef5602

View file

@ -50,7 +50,7 @@ public:
private: private:
static inline size_t m_depth = 0; static inline size_t m_depth = 0;
SourceLocation m_location; SourceLocation m_location;
StringView m_extra; String m_extra;
}; };
template<> template<>