summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-03-05 23:29:57 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-03-05 23:29:57 +0100
commit0957760c42cc04d9c295b649b039015186b25609 (patch)
treed142ad6434b459e79359a2ad3121a7f6f68a77f0 /src/DabMultiplexer.h
parentfd8748e1a9b49f2c6ca83247db97d6bb30a48ef6 (diff)
downloaddabmux-0957760c42cc04d9c295b649b039015186b25609.tar.gz
dabmux-0957760c42cc04d9c295b649b039015186b25609.tar.bz2
dabmux-0957760c42cc04d9c295b649b039015186b25609.zip
Replace clock_gettime with std::chrono for EDI
Diffstat (limited to 'src/DabMultiplexer.h')
-rw-r--r--src/DabMultiplexer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DabMultiplexer.h b/src/DabMultiplexer.h
index 054addc..3e16141 100644
--- a/src/DabMultiplexer.h
+++ b/src/DabMultiplexer.h
@@ -3,7 +3,7 @@
2011, 2012 Her Majesty the Queen in Right of Canada (Communications
Research Center Canada)
- Copyright (C) 2015
+ Copyright (C) 2016
Matthias P. Braendli, matthias.braendli@mpb.li
*/
/*
@@ -48,6 +48,7 @@
#include "ClockTAI.h"
#include <exception>
#include <vector>
+#include <chrono>
#include <memory>
#include <string>
#include <memory>
@@ -101,7 +102,7 @@ class DabMultiplexer : public RemoteControllable {
unsigned timestamp;
bool MNSC_increment_time;
struct timeval mnsc_time;
- struct timespec edi_time;
+ std::chrono::system_clock::time_point edi_time;
edi_configuration_t edi_conf;