From 876d4150aa3da531ddd687b48afada6e43f79146 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 2 Mar 2020 15:25:13 -0800 Subject: uhd: Apply clang-format against all .cpp and .hpp files in host/ Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against. --- host/lib/rfnoc/actions.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'host/lib/rfnoc/actions.cpp') diff --git a/host/lib/rfnoc/actions.cpp b/host/lib/rfnoc/actions.cpp index 3276c456c..86bc576f3 100644 --- a/host/lib/rfnoc/actions.cpp +++ b/host/lib/rfnoc/actions.cpp @@ -11,9 +11,9 @@ using namespace uhd::rfnoc; namespace { - // A static counter, which we use to uniquely label actions - std::atomic action_counter{0}; -} +// A static counter, which we use to uniquely label actions +std::atomic action_counter{0}; +} // namespace action_info::action_info(const std::string& key, const uhd::device_addr_t& args) : id(action_counter++), key(key), args(args) @@ -72,7 +72,8 @@ rx_event_action_info::sptr rx_event_action_info::make( /*** TX Metadata Action Info *************************************************/ tx_event_action_info::tx_event_action_info( - uhd::async_metadata_t::event_code_t event_code_, const boost::optional& tsf_) + uhd::async_metadata_t::event_code_t event_code_, + const boost::optional& tsf_) : action_info(ACTION_KEY_TX_EVENT), event_code(event_code_), has_tsf(tsf_) { if (has_tsf) { -- cgit v1.2.3