comparison 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
comparison
equal deleted inserted replaced
274:f6a756c19bfb 279:657fda1b9cac
4 #include "core/anime.h" 4 #include "core/anime.h"
5 5
6 namespace Translate { 6 namespace Translate {
7 namespace AniList { 7 namespace AniList {
8 8
9 Anime::SeriesStatus ToSeriesStatus(std::string status); 9 Anime::SeriesStatus ToSeriesStatus(const std::string& status);
10 Anime::SeriesSeason ToSeriesSeason(std::string season); 10 Anime::SeriesSeason ToSeriesSeason(const std::string& season);
11 Anime::SeriesFormat ToSeriesFormat(std::string format); 11 Anime::SeriesFormat ToSeriesFormat(const std::string& format);
12 12
13 } // namespace AniList 13 } // namespace AniList
14 } // namespace Translate 14 } // namespace Translate
15 15
16 #endif // MINORI_GUI_TRANSLATE_ANILIST_H_ 16 #endif // MINORI_GUI_TRANSLATE_ANILIST_H_