Mark operator<() const

This commit is contained in:
Gregory A Lundberg 2018-03-03 15:43:16 -06:00
parent b24b127ad3
commit 8c6895d17f
No known key found for this signature in database
GPG Key ID: 149484078AE8AE9E
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ credits_group::about_group::about_group(const config& cfg)
}
}
bool credits_group::about_group::operator<(const about_group& o)
bool credits_group::about_group::operator<(const about_group& o) const
{
return translation::compare(title.str(), o.title.str()) < 0;
}

View File

@ -35,7 +35,7 @@ struct credits_group
/** The section title. */
t_string title;
bool operator<(const about_group& o);
bool operator<(const about_group& o) const;
};
credits_group(const config& cfg, bool is_campaign_credits);