diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-03-05 17:28:24 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-03-05 17:28:24 +0100 |
commit | 126cc8829c003d483839fd230f979e47dcf856ae (patch) | |
tree | acddeb0426ea10cc147cad633fc11633e6bc4a50 /src/dabOutput/dabOutput.h | |
parent | 57eb1f4cb909c233131b48ae481a3e4826e309ff (diff) | |
download | dabmux-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.h | 4 |
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 }; |