aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/actions.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/include/uhd/rfnoc/actions.hpp b/host/include/uhd/rfnoc/actions.hpp
index 681a9da3d..52e6b9287 100644
--- a/host/include/uhd/rfnoc/actions.hpp
+++ b/host/include/uhd/rfnoc/actions.hpp
@@ -70,13 +70,13 @@ public:
using sptr = std::shared_ptr<rx_event_action_info>;
//! The error code that describes the event
- uhd::rx_metadata_t::error_code_t error_code = uhd::rx_metadata_t::ERROR_CODE_NONE;
+ uhd::rx_metadata_t::error_code_t error_code;
//! Factory function
- static sptr make();
+ static sptr make(uhd::rx_metadata_t::error_code_t error_code);
-private:
- rx_event_action_info();
+protected:
+ rx_event_action_info(uhd::rx_metadata_t::error_code_t error_code);
};
struct UHD_API tx_event_action_info : public action_info