diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-07 11:51:03 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-07 11:51:03 +0100 |
commit | 28d794ab7d47e4f2585ac73f8a69c9c68962b678 (patch) | |
tree | e0d7dd92acf20ec5b20ec17c79310412528b66a2 /src/TimestampDecoder.h | |
parent | 7ddaefab49e31a3ff360225b929633e7be161947 (diff) | |
download | dabmod-28d794ab7d47e4f2585ac73f8a69c9c68962b678.tar.gz dabmod-28d794ab7d47e4f2585ac73f8a69c9c68962b678.tar.bz2 dabmod-28d794ab7d47e4f2585ac73f8a69c9c68962b678.zip |
Make frame_timestamp movable
Diffstat (limited to 'src/TimestampDecoder.h')
-rw-r--r-- | src/TimestampDecoder.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/TimestampDecoder.h b/src/TimestampDecoder.h index cffba2f..ff52e4c 100644 --- a/src/TimestampDecoder.h +++ b/src/TimestampDecoder.h @@ -47,22 +47,6 @@ struct frame_timestamp bool timestamp_valid = false; bool timestamp_refresh; - frame_timestamp() = default; - frame_timestamp(const frame_timestamp& other) = default; - frame_timestamp& operator=(const frame_timestamp &rhs) - { - if (this != &rhs) { - this->timestamp_sec = rhs.timestamp_sec; - this->timestamp_pps = rhs.timestamp_pps; - this->timestamp_valid = rhs.timestamp_valid; - this->timestamp_refresh = rhs.timestamp_refresh; - this->fct = rhs.fct; - this->fp = rhs.fp; - } - - return *this; - } - frame_timestamp& operator+=(const double& diff) { double offset_pps, offset_secs; |