diff --git a/AK/SourceLocation.h b/AK/SourceLocation.h index f26e53bc256..d0d2f6f2d0f 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)