aboutsummaryrefslogtreecommitdiff
path: root/apps/sample-select.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sample-select.h')
-rw-r--r--apps/sample-select.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/sample-select.h b/apps/sample-select.h
index 60bda32..8ae5cc3 100644
--- a/apps/sample-select.h
+++ b/apps/sample-select.h
@@ -12,7 +12,6 @@ using boost::tokenizer;
namespace po = boost::program_options;
class sample_select : public app {
-
private:
string fields;
@@ -23,8 +22,7 @@ public:
~sample_select() = default;
void add_options(po::options_description_easy_init &options) override {
- options
- ("fields", po::value<string>(&fields)->required());
+ options("fields", po::value<string>(&fields)->required());
}
int main(app_execution &execution) override {
@@ -94,9 +92,11 @@ public:
}
vector<sample_output_stream_option*> options = {};
- unique_ptr<SampleOutputStream> unique_output_stream = open_sample_output_stream(shared_ptr<ostream>(&cout, noop_deleter), dict, parser->type(), options);
+ unique_ptr<SampleOutputStream> unique_output_stream = open_sample_output_stream(shared_ptr<ostream>(&cout,
+ noop_deleter), dict, parser->type(), options);
shared_ptr<SampleOutputStream> output_stream{std::move(unique_output_stream)};
- shared_ptr<SampleOutputStream> p = make_shared<TimestampFixingSampleOutputStream>(output_stream, dict, timestamp_name, relative_name, relative_resolution, start_time);
+ shared_ptr<SampleOutputStream> p = make_shared<TimestampFixingSampleOutputStream>(output_stream, dict,
+ timestamp_name, relative_name, relative_resolution, start_time);
parser = open_sample_stream_parser(p, dict, parser->type());
int recordCount = 0;
@@ -115,6 +115,5 @@ public:
return EXIT_SUCCESS;
};
};
-
}
}