[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] several plugin paths in supernova win32 -U option
Tim,
what about std::accumulate or simply nest the loops?
if (!args.ugen_paths.empty()) {
for(path const & path1 : args.ugen_paths){
vector<std::string> directories;
boost::split(directories, path1.string(),
boost::is_any_of(pathSeparator));
for(string const & path : directories){
factory->load_plugin_folder(path);
}
}
}
Is that better?
Victor
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/