diff options
Diffstat (limited to 'apps/sample-convert.cpp')
-rw-r--r-- | apps/sample-convert.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/sample-convert.cpp b/apps/sample-convert.cpp index 6ce83e8..0c3aa9a 100644 --- a/apps/sample-convert.cpp +++ b/apps/sample-convert.cpp @@ -1,4 +1,5 @@ -#include "trygvis/SensorSample.h" +#include "trygvis/sensor.h" +#include "trygvis/sensor/io.h" #include "json.hpp" #include "apps.h" #include <fstream> @@ -10,6 +11,7 @@ namespace apps { using namespace std; using namespace trygvis::apps; using namespace trygvis::sensor; +using namespace trygvis::sensor::io; using boost::tokenizer; namespace po = boost::program_options; @@ -66,7 +68,7 @@ public: } std::vector<sample_output_stream_option *> options; - trygvis::sensor::timestamp_field tf(timestamp_field); + trygvis::sensor::io::timestamp_field tf(timestamp_field); if (!timestamp_field.empty()) { options.push_back(&tf); |