other_files.push_back(f);
}
AndroidPackageFile *apk = new AndroidPackageFile(builder, *resource_bundle->get_component(), *resource_bundle, other_files);
other_files.push_back(f);
}
AndroidPackageFile *apk = new AndroidPackageFile(builder, *resource_bundle->get_component(), *resource_bundle, other_files);
- for(list<FS::Path>::const_iterator i=files.begin(); i!=files.end(); ++i)
- argv.push_back(FS::relative(*i, work_dir).str());
+ for(const FS::Path &f: files)
+ argv.push_back(FS::relative(f, work_dir).str());
ExternalTask *task = new ExternalTask(argv, work_dir);
task->set_stdin(FS::basename(input_path));
ExternalTask *task = new ExternalTask(argv, work_dir);
task->set_stdin(FS::basename(input_path));