AK: Add default constructor to SourceLocation

This commit is contained in:
Brian Gianforcaro 2021-04-24 15:15:57 -07:00 committed by Andreas Kling
parent c248bbc7fd
commit 87724b3d09
Notes: sideshowbarker 2024-07-18 19:07:51 +09:00

View file

@ -24,6 +24,8 @@ public:
return SourceLocation(file, line, function); return SourceLocation(file, line, function);
} }
constexpr SourceLocation() = default;
private: private:
constexpr SourceLocation(const char* const file, u32 line, const char* const function) constexpr SourceLocation(const char* const file, u32 line, const char* const function)
: m_function(function) : m_function(function)