diff options
author | Vidush <vidush.vishwanath@ettus.com> | 2018-06-06 15:57:07 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-06-07 10:17:26 -0700 |
commit | f08b0160686709a45b0c4ee4a478f4ee016a5798 (patch) | |
tree | 1fcfaf965a03b0f130ea6cbe3e662559b2a7c604 /host/include | |
parent | 682feb3f6c18fc0780528adfeb8fc59368f9e48e (diff) | |
download | uhd-f08b0160686709a45b0c4ee4a478f4ee016a5798.tar.gz uhd-f08b0160686709a45b0c4ee4a478f4ee016a5798.tar.bz2 uhd-f08b0160686709a45b0c4ee4a478f4ee016a5798.zip |
Time_spec: Add Operators
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/types/time_spec.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/include/uhd/types/time_spec.hpp b/host/include/uhd/types/time_spec.hpp index 8b05f53b5..a8173d471 100644 --- a/host/include/uhd/types/time_spec.hpp +++ b/host/include/uhd/types/time_spec.hpp @@ -97,7 +97,9 @@ namespace uhd{ //! Implement addable interface time_spec_t &operator+=(const time_spec_t &); - + time_spec_t &operator+=(double &); + time_spec_t &operator+(double &); + time_spec_t &operator+(const time_spec_t &); //! Implement subtractable interface time_spec_t &operator-=(const time_spec_t &); |