From 282c054ddc9d51991855ba9b04679e769b7e2602 Mon Sep 17 00:00:00 2001 From: Zaggy1024 Date: Thu, 12 Feb 2026 17:23:18 -0600 Subject: [PATCH] AK: Make SourceLocation's copy assignment operator take const --- AK/SourceLocation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/SourceLocation.h b/AK/SourceLocation.h index f26e53bc25..d0d2f6f2d0 100644 --- a/AK/SourceLocation.h +++ b/AK/SourceLocation.h @@ -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)