diff options
-rw-r--r-- | host/lib/include/uhdlib/experts/expert_nodes.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/host/lib/include/uhdlib/experts/expert_nodes.hpp b/host/lib/include/uhdlib/experts/expert_nodes.hpp index 554706741..b0e298485 100644 --- a/host/lib/include/uhdlib/experts/expert_nodes.hpp +++ b/host/lib/include/uhdlib/experts/expert_nodes.hpp @@ -15,6 +15,7 @@ #include <stdint.h> #include <boost/core/demangle.hpp> #include <functional> +#include <iostream> #include <list> #include <memory> #include <mutex> @@ -391,6 +392,12 @@ public: { return !(get() == rhs); } + + friend std::ostream& operator<<(std::ostream& os, const data_reader_t& reader) + { + os << reader.get(); + return os; + } }; /*!--------------------------------------------------------- |