diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-09-01 13:59:25 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-09-01 14:06:01 +0200 |
commit | 1f2c7aae9fdd39a478944ccda5c9e82d76ab5db6 (patch) | |
tree | 691f851318c60465dd5d4c837136e991026432ff /apps/sample-convert.cpp | |
parent | 3af4d83dfa190d8d95aefbf31ae0b1d85abe492a (diff) | |
download | ble-toys-1f2c7aae9fdd39a478944ccda5c9e82d76ab5db6.tar.gz ble-toys-1f2c7aae9fdd39a478944ccda5c9e82d76ab5db6.tar.bz2 ble-toys-1f2c7aae9fdd39a478944ccda5c9e82d76ab5db6.tar.xz ble-toys-1f2c7aae9fdd39a478944ccda5c9e82d76ab5db6.zip |
o Renaming SampleOutputStream to SampleConsumer.
o Some c++ style fixes.
Diffstat (limited to 'apps/sample-convert.cpp')
-rw-r--r-- | apps/sample-convert.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/sample-convert.cpp b/apps/sample-convert.cpp index 81c08ca..2142462 100644 --- a/apps/sample-convert.cpp +++ b/apps/sample-convert.cpp @@ -93,13 +93,13 @@ public: options.push_back(&fs); } - unique_ptr<SampleOutputStream> o = open_sample_output_stream(outputStream, dict, output_format, options); + unique_ptr<SampleConsumer> o = open_sample_writer(outputStream, dict, output_format, options); if (add_timestamp) { - o = make_unique<AddTimestampSampleOutputStream>(move(o), dict, timestamp_field); + o = make_unique<AddTimestampSampleConsumer>(move(o), dict, timestamp_field); } - shared_ptr<SampleOutputStream> output(move(o)); + shared_ptr<SampleConsumer> output(move(o)); auto input = make_shared<KeyValueSampleStreamParser>(output, dict); |