Remove unused setFromVector
function
This commit is contained in:
parent
d979c711d6
commit
0278b77667
7
main.cpp
7
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<string> setFromVector(vector<string> vec);
|
||||
vector<string> 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<string> setFromVector(vector<string> vec)
|
||||
{
|
||||
return set(vec.begin(), vec.end());
|
||||
}
|
||||
|
||||
// Return file lines as a vector of the file at the given `filePath`.
|
||||
vector<string> getFileContent(string filePath)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user