fix up a bunch of clang-tidy stuff

mostly changing references, which i hope doesnt break stuff with models (TreeRow, iterators) since they gave me some strange problems in the past
This commit is contained in:
ouwou committed 2022-04-05 22:01:53 -04:00
1 parent 9767e1e7fd
commit 49685c3989
75 files changed
+518 -709

No files matched your search

+3 -3
View File
@@ -59,13 +59,13 @@ public:
~Cache();
using callback_type = std::function<void(std::string)>;
void GetFileFromURL(std::string url, callback_type cb);
std::string GetPathIfCached(std::string url);
void GetFileFromURL(const std::string &url, const callback_type &cb);
std::string GetPathIfCached(const std::string &url);
void ClearCache();
private:
void CleanupFutures();
void RespondFromPath(std::filesystem::path path, callback_type cb);
static void RespondFromPath(const std::filesystem::path &path, const callback_type &cb);
void OnResponse(const std::string &url);
void OnFetchComplete(const std::string &url);