From 523994c793c8e63f7b30657e06ce3588de0855c1 Mon Sep 17 00:00:00 2001 From: Vidush Date: Tue, 26 Jun 2018 12:06:42 -0700 Subject: fixup! Time_spec: Add Operators --- host/include/uhd/types/time_spec.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/types/time_spec.hpp b/host/include/uhd/types/time_spec.hpp index a8173d471..32810c6e9 100644 --- a/host/include/uhd/types/time_spec.hpp +++ b/host/include/uhd/types/time_spec.hpp @@ -98,8 +98,8 @@ 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 &); + 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