Simplify option_parser
This commit is contained in:
@@ -47,9 +47,11 @@ protected:
|
||||
static const char msgNotFound[];
|
||||
};
|
||||
|
||||
typedef std::vector<std::unique_ptr<LyricsFetcher>> LyricsFetchers;
|
||||
typedef std::unique_ptr<LyricsFetcher> LyricsFetcher_;
|
||||
|
||||
std::unique_ptr<LyricsFetcher> toLyricsFetcher(const std::string &s);
|
||||
typedef std::vector<LyricsFetcher_> LyricsFetchers;
|
||||
|
||||
std::istream &operator>>(std::istream &is, LyricsFetcher_ &fetcher);
|
||||
|
||||
/**********************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user