From db3ffeb9f54c92622fbd22e829898b73d0390242 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 17:29:33 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/yaodaq/Key.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yaodaq/Key.cpp b/src/yaodaq/Key.cpp index a4044ef..fa99641 100644 --- a/src/yaodaq/Key.cpp +++ b/src/yaodaq/Key.cpp @@ -14,7 +14,7 @@ std::int_least8_t Key::getDomain() const { return ( m_Key >> 24 ) & 0xFF; } std::int_least8_t Key::getClass() const { return ( m_Key >> 16 ) & 0xFF; } -std::int_least16_t Key::getFamily() const { return (m_Key)&0xFFFF; } +std::int_least16_t Key::getFamily() const { return ( m_Key ) & 0xFFFF; } std::int_least32_t Key::getKey() const { return m_Key; }