mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
AK: Make SourceLocation's copy assignment operator take const
This commit is contained in:
committed by
Gregory Bertilson
parent
af2ac67be3
commit
282c054ddc
Notes:
github-actions[bot]
2026-02-18 19:14:46 +00:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/LadybirdBrowser/ladybird/commit/282c054ddc9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7922
@@ -26,7 +26,7 @@ public:
|
||||
|
||||
constexpr SourceLocation() = default;
|
||||
constexpr SourceLocation(SourceLocation const&) = default;
|
||||
SourceLocation& operator=(SourceLocation& other) = default;
|
||||
SourceLocation& operator=(SourceLocation const& other) = default;
|
||||
|
||||
private:
|
||||
constexpr SourceLocation(char const* const file, u32 line, char const* const function)
|
||||
|
||||
Reference in New Issue
Block a user