diff include/core/anime_db.h @ 369:47c9f8502269

*: clang-format all the things I've edited the formatting a bit. Now pointer asterisks (and reference ampersands) are on the variable instead of the type, as well as having newlines for function braces (but nothing else)
author Paper <paper@tflc.us>
date Fri, 25 Jul 2025 10:16:02 -0400
parents b5d6c27c308f
children
line wrap: on
line diff
--- a/include/core/anime_db.h	Fri Jul 25 10:05:23 2025 -0400
+++ b/include/core/anime_db.h	Fri Jul 25 10:16:02 2025 -0400
@@ -18,19 +18,19 @@
 	double GetAverageScore() const;
 	double GetScoreDeviation() const;
 	size_t GetListsAnimeAmount(ListStatus status) const;
-	int LookupAnimeTitle(const std::string& title) const;
+	int LookupAnimeTitle(const std::string &title) const;
 
-	bool GetDatabaseAsJSON(nlohmann::json& json) const;
+	bool GetDatabaseAsJSON(nlohmann::json &json) const;
 	bool SaveDatabaseToDisk() const;
 
-	bool ParseDatabaseJSON(const nlohmann::json& json);
+	bool ParseDatabaseJSON(const nlohmann::json &json);
 	bool LoadDatabaseFromDisk();
 
 	/* These are here to make sure that our service IDs don't collide
 	 * and make the whole thing go boom. */
 	int GetUnusedId() const;
-	int LookupServiceId(Service service, const std::string& id_to_find) const;
-	int LookupServiceIdOrUnused(Service service, const std::string& id_to_find) const;
+	int LookupServiceId(Service service, const std::string &id_to_find) const;
+	int LookupServiceIdOrUnused(Service service, const std::string &id_to_find) const;
 
 	/* when syncing we don't want to keep deleted anime */
 	void RemoveAllUserData();