#include <algorithm>

#include "env.hh"
#include "parse_args.hh"
#include "consumer.hh"

using namespace std;
using namespace boost::filesystem;

int main(int argc, char** argv) {
    argc--;
    argv++;

    vector<path> files;
    string playlist;
    parse_args(argc, argv, files, playlist);

    Consumer consumer(std::move(playlist));
    for (auto& file : files) {
        consumer.consume(std::move(file));
    }
}

#include <algorithm>

#include "env.hh"
#include "parse_args.hh"
#include "consumer.hh"

using namespace std;
using namespace boost::filesystem;

int main(int argc, char** argv) {
    argc--;
    argv++;

    vector<path> files;
    string playlist;
    parse_args(argc, argv, files, playlist);

    Consumer consumer(std::move(playlist));
    for (const auto& file : files) {
        consumer.consume(file);
    }
}

Revert "Move each `file` into the `Consumer::consume` method."
Revert "Move each `file` into the `Consumer::consume` method."

This reverts commit 5a9c22010bef1772dfd0efd379822582c3d3b9b0.

Undo so previous edit works correctly
