aboutsummaryrefslogtreecommitdiffstats
path: root/common/kernel/exclusive_state_groups.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2023-01-25 10:29:32 +0100
committergatecat <gatecat@ds0.me>2023-01-25 10:29:32 +0100
commit9b5e5f124c186942652e6be03c356cf0edf88124 (patch)
tree84e79e45756ea03f573bd814d7639cfda9f10435 /common/kernel/exclusive_state_groups.h
parentb9ed39bc1c8668c0d17b73515568b4fb01d0e9ca (diff)
downloadnextpnr-9b5e5f124c186942652e6be03c356cf0edf88124.tar.gz
nextpnr-9b5e5f124c186942652e6be03c356cf0edf88124.tar.bz2
nextpnr-9b5e5f124c186942652e6be03c356cf0edf88124.zip
clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/kernel/exclusive_state_groups.h')
-rw-r--r--common/kernel/exclusive_state_groups.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/kernel/exclusive_state_groups.h b/common/kernel/exclusive_state_groups.h
index 68ce7c4e..7d447ffe 100644
--- a/common/kernel/exclusive_state_groups.h
+++ b/common/kernel/exclusive_state_groups.h
@@ -125,7 +125,10 @@ template <size_t StateCount, typename StateType = int8_t, typename CountType = u
}
}
- template <typename StateRange> bool requires(const StateRange &state_range) const
+ template <typename StateRange>
+ bool
+ requires(const StateRange &state_range)
+ const
{
if (state < 0) {
return false;