From f08b0160686709a45b0c4ee4a478f4ee016a5798 Mon Sep 17 00:00:00 2001 From: Vidush Date: Wed, 6 Jun 2018 15:57:07 -0700 Subject: Time_spec: Add Operators --- host/include/uhd/types/time_spec.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/include') 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 &); -- cgit v1.2.3