AK: Make SourceLocation's copy assignment operator take const

This commit is contained in:
Zaggy1024 2026-02-12 17:23:18 -06:00 committed by Gregory Bertilson
parent af2ac67be3
commit 282c054ddc

View file

@ -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)