aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
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