From 476dccd6c383e4c0eccf0f42242137f863cda136 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 2 Mar 2020 15:30:29 -0800 Subject: mpm: Apply clang-format against all .cpp and .hpp files --- mpm/lib/mykonos/config/ad937x_gain_ctrl_config.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mpm/lib/mykonos/config/ad937x_gain_ctrl_config.hpp') diff --git a/mpm/lib/mykonos/config/ad937x_gain_ctrl_config.hpp b/mpm/lib/mykonos/config/ad937x_gain_ctrl_config.hpp index 12851af92..79c24abd5 100644 --- a/mpm/lib/mykonos/config/ad937x_gain_ctrl_config.hpp +++ b/mpm/lib/mykonos/config/ad937x_gain_ctrl_config.hpp @@ -15,7 +15,8 @@ // C++14 requires std::hash includes a specialization for enums, but gcc doesn't do that // yet Remove this when that happens namespace std { -template <> struct hash +template <> +struct hash { size_t operator()(const uhd::direction_t& x) const { @@ -23,7 +24,8 @@ template <> struct hash } }; -template <> struct hash +template <> +struct hash { size_t operator()(const mpm::ad937x::device::chain_t& x) const { -- cgit v1.2.3