Mercurial > minori
diff include/gui/translate/anilist.h @ 279:657fda1b9cac
*: clean up enums
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Fri, 19 Apr 2024 13:24:06 -0400 |
parents | 3ec7804abf17 |
children | b1f625b0227c |
line wrap: on
line diff
--- a/include/gui/translate/anilist.h Thu Apr 18 17:24:42 2024 -0400 +++ b/include/gui/translate/anilist.h Fri Apr 19 13:24:06 2024 -0400 @@ -6,9 +6,9 @@ namespace Translate { namespace AniList { -Anime::SeriesStatus ToSeriesStatus(std::string status); -Anime::SeriesSeason ToSeriesSeason(std::string season); -Anime::SeriesFormat ToSeriesFormat(std::string format); +Anime::SeriesStatus ToSeriesStatus(const std::string& status); +Anime::SeriesSeason ToSeriesSeason(const std::string& season); +Anime::SeriesFormat ToSeriesFormat(const std::string& format); } // namespace AniList } // namespace Translate