aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-03-22 18:20:38 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-03-22 18:20:38 +0100
commit52d0fe67f8998b215a47ebc697600cae49a7b17a (patch)
tree18da6306fde41ae9707f658ef2ddd14ced5de882 /apps
parentec15f36073b77375a06457c423d9a56245aa9dfc (diff)
downloadble-toys-52d0fe67f8998b215a47ebc697600cae49a7b17a.tar.gz
ble-toys-52d0fe67f8998b215a47ebc697600cae49a7b17a.tar.bz2
ble-toys-52d0fe67f8998b215a47ebc697600cae49a7b17a.tar.xz
ble-toys-52d0fe67f8998b215a47ebc697600cae49a7b17a.zip
o Better class names for options.
Diffstat (limited to 'apps')
-rw-r--r--apps/sample-convert.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sample-convert.cpp b/apps/sample-convert.cpp
index 0c3aa9a..c7173a1 100644
--- a/apps/sample-convert.cpp
+++ b/apps/sample-convert.cpp
@@ -68,14 +68,14 @@ public:
}
std::vector<sample_output_stream_option *> options;
- trygvis::sensor::io::timestamp_field tf(timestamp_field);
+ trygvis::sensor::io::timestamp_field_option tf(timestamp_field);
if (!timestamp_field.empty()) {
options.push_back(&tf);
}
tokenizer<> tok(fields);
- output_fields fs;
+ output_fields_option fs;
std::copy(tok.begin(), tok.end(), std::back_inserter(fs.fields));
if (!fs.fields.empty()) {
options.push_back(&fs);