diff --git a/main.cpp b/main.cpp index 8605fb8..ff5dcb8 100644 --- a/main.cpp +++ b/main.cpp @@ -16,7 +16,6 @@ using json = nlohmann::json; // Concerning `returnErrorIfPlaylistNotFound`, it is used when not trying to retrieve a channel `uploads` playlist content as it seems to always work. enum getJsonBehavior { normal, retryOnCommentsDisabled, returnErrorIfPlaylistNotFound }; -set setFromVector(vector vec); vector getFileContent(string filePath); json getJson(unsigned short threadId, string url, bool usingYouTubeDataApiV3, string channelId, getJsonBehavior behavior = normal); void createDirectory(string path), @@ -826,12 +825,6 @@ string getDate() return toString.str(); } -// Returns a set from a given vector. -set setFromVector(vector vec) -{ - return set(vec.begin(), vec.end()); -} - // Return file lines as a vector of the file at the given `filePath`. vector getFileContent(string filePath) {