summaryrefslogtreecommitdiff
path: root/lib/enumDetails.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/enumDetails.h')
-rw-r--r--lib/enumDetails.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/enumDetails.h b/lib/enumDetails.h
index b6ff046..c68f7e8 100644
--- a/lib/enumDetails.h
+++ b/lib/enumDetails.h
@@ -108,8 +108,8 @@ private:
constexpr static auto valid_count {std::count_if(valid_flags.begin(), valid_flags.end(), std::identity {})};
constexpr static auto
- lookup(const auto key, const auto & search, const auto & out)
- -> std::optional<typename std::decay_t<decltype(out)>::value_type>
+ lookup(const auto key, const auto & search,
+ const auto & out) -> std::optional<typename std::decay_t<decltype(out)>::value_type>
{
if (const auto itr = std::find(search.begin(), search.end(), key); itr != search.end()) {
return out[static_cast<std::size_t>(std::distance(search.begin(), itr))];