Optimize compilation time

This commit is contained in:
Wojtek Figat
2022-12-03 10:42:58 +01:00
parent 6458d7e0db
commit 98c29c4a4e
67 changed files with 128 additions and 77 deletions

View File

@@ -34,9 +34,9 @@ public:
LocalizedString& operator=(const StringView& value);
LocalizedString& operator=(String&& value) noexcept;
friend bool operator==(const LocalizedString& a, const LocalizedString& b)
bool operator==(const LocalizedString& other) const
{
return a.Id == b.Id && a.Value == b.Value;
return Id == other.Id && Value == other.Value;
}
friend bool operator!=(const LocalizedString& a, const LocalizedString& b)