diff options
author | Marcus Müller <marcus.mueller@ettus.com> | 2017-03-21 17:52:39 +0100 |
---|---|---|
committer | Marcus Müller <marcus.mueller@ettus.com> | 2017-03-21 17:52:39 +0100 |
commit | edb12325a82b11fc7cc3ab9572dbcab3d8f378a7 (patch) | |
tree | 422ae571d6bbdf492d85cd4cf3f3bcb0c4582b4f | |
parent | f919fa20ec08aec29956e1e66008788d7d1e0afd (diff) |
added the missing == operator.
-rw-r--r-- | gr-uhd/swig/uhd_swig.i | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i index b82d0fdae9..2852447c80 100644 --- a/gr-uhd/swig/uhd_swig.i +++ b/gr-uhd/swig/uhd_swig.i @@ -105,6 +105,10 @@ temp -= what; return temp; } + bool __eq__(const uhd::time_spec_t &what) + { + return (what == *self); + } }; %include <uhd/types/stream_cmd.hpp> |