From 00bdb2b164ba268ae0a4efa8d0ada70d05f7cdb5 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Thu, 3 Mar 2016 17:15:42 -0800 Subject: experts: Added additional assignment operator to data writer --- host/lib/experts/expert_nodes.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'host') 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& operator=(const data_writer_t& value) { + set(value.get()); + return *this; + } +}; /*!--------------------------------------------------------- * class worker_node_t -- cgit v1.2.3