summaryrefslogtreecommitdiffstats
path: root/src/dabOutput/dabOutput.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-03-05 17:28:24 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-03-05 17:28:24 +0100
commit126cc8829c003d483839fd230f979e47dcf856ae (patch)
treeacddeb0426ea10cc147cad633fc11633e6bc4a50 /src/dabOutput/dabOutput.h
parent57eb1f4cb909c233131b48ae481a3e4826e309ff (diff)
downloaddabmux-126cc8829c003d483839fd230f979e47dcf856ae.tar.gz
dabmux-126cc8829c003d483839fd230f979e47dcf856ae.tar.bz2
dabmux-126cc8829c003d483839fd230f979e47dcf856ae.zip
Replace platform specific simul:// by C++11 chrono
Diffstat (limited to 'src/dabOutput/dabOutput.h')
-rw-r--r--src/dabOutput/dabOutput.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dabOutput/dabOutput.h b/src/dabOutput/dabOutput.h
index 2c4d1ef..6756027 100644
--- a/src/dabOutput/dabOutput.h
+++ b/src/dabOutput/dabOutput.h
@@ -36,7 +36,9 @@
#include <stdexcept>
#include <signal.h>
#include <vector>
+#include <chrono>
#include <memory>
+
#ifdef _WIN32
# include <io.h>
# ifdef __MINGW32__
@@ -305,7 +307,7 @@ class DabOutputSimul : public DabOutput
#ifdef _WIN32
DWORD startTime_;
#else
- struct timespec startTime_;
+ std::chrono::steady_clock::time_point startTime_;
#endif
};