[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/01: added the missing == operator.
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/01: added the missing == operator. |
Date: |
Wed, 22 Mar 2017 16:05:41 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit edb12325a82b11fc7cc3ab9572dbcab3d8f378a7
Author: Marcus Müller <address@hidden>
Date: Tue Mar 21 17:52:39 2017 +0100
added the missing == operator.
---
gr-uhd/swig/uhd_swig.i | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index b82d0fd..2852447 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>