mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
AK: Add default constructor to SourceLocation
This commit is contained in:
parent
c248bbc7fd
commit
87724b3d09
Notes:
sideshowbarker
2024-07-18 19:07:51 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/87724b3d099 Pull-request: https://github.com/SerenityOS/serenity/pull/6601
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ public:
|
|||
return SourceLocation(file, line, function);
|
||||
}
|
||||
|
||||
constexpr SourceLocation() = default;
|
||||
|
||||
private:
|
||||
constexpr SourceLocation(const char* const file, u32 line, const char* const function)
|
||||
: m_function(function)
|
||||
|
|
Loading…
Reference in a new issue