aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-03-03 17:15:42 -0800
committerAshish Chaudhari <ashish@ettus.com>2016-03-21 16:49:46 -0700
commit00bdb2b164ba268ae0a4efa8d0ada70d05f7cdb5 (patch)
tree3f77b69b608caa9f1428c5969ab7aa6d4bf3251a /host/lib
parent603fb7aacdda208c4d38521f9eed81f61f6c7b9b (diff)
downloaduhd-00bdb2b164ba268ae0a4efa8d0ada70d05f7cdb5.tar.gz
uhd-00bdb2b164ba268ae0a4efa8d0ada70d05f7cdb5.tar.bz2
uhd-00bdb2b164ba268ae0a4efa8d0ada70d05f7cdb5.zip
experts: Added additional assignment operator to data writer
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/experts/expert_nodes.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/host/lib/experts/expert_nodes.hpp b/host/lib/experts/expert_nodes.hpp
index 235ee489f..c89f4f3a8 100644
--- a/host/lib/experts/expert_nodes.hpp
+++ b/host/lib/experts/expert_nodes.hpp
@@ -353,7 +353,12 @@ namespace uhd { namespace experts {
set(value);
return *this;
}
- };
+
+ inline data_writer_t<data_t>& operator=(const data_writer_t<data_t>& value) {
+ set(value.get());
+ return *this;
+ }
+};
/*!---------------------------------------------------------
* class worker_node_t