Skip to content

Commit

Permalink
use inline for values at file-scope instead of static
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMiller- committed Jul 6, 2024
1 parent d1d7a4a commit b4c3772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sec21/compose.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace sec21
}

template <typename T>
static constexpr auto is_return_type_optional_v =
inline constexpr auto is_return_type_optional_v =
type_traits::is_optional_v<typename type_traits::function_traits<std::remove_pointer_t<T>>::result_type>;

// g: A -> optional<B>, f: B -> optional<C>
Expand Down

0 comments on commit b4c3772

Please sign in to comment.