Remove unused setFromVector
function
This commit is contained in:
parent
572f9e121f
commit
9d433ba2f3
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.
|
// 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 };
|
enum getJsonBehavior { normal, retryOnCommentsDisabled, returnErrorIfPlaylistNotFound };
|
||||||
|
|
||||||
set<string> setFromVector(vector<string> vec);
|
|
||||||
vector<string> getFileContent(string filePath);
|
vector<string> getFileContent(string filePath);
|
||||||
json getJson(unsigned short threadId, string url, bool usingYouTubeDataApiV3, string channelId, getJsonBehavior behavior = normal);
|
json getJson(unsigned short threadId, string url, bool usingYouTubeDataApiV3, string channelId, getJsonBehavior behavior = normal);
|
||||||
void createDirectory(string path),
|
void createDirectory(string path),
|
||||||
@ -826,12 +825,6 @@ string getDate()
|
|||||||
return toString.str();
|
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`.
|
// Return file lines as a vector of the file at the given `filePath`.
|
||||||
vector<string> getFileContent(string filePath)
|
vector<string> getFileContent(string filePath)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user