mirror of
https://github.com/oxen-io/oxen-mq.git
synced 2023-12-13 21:00:31 +01:00
Make is_bt_tuple constexpr variables inline
Silence clang misc-definitions-in-headers warnings about it.
This commit is contained in:
parent
506bd65b05
commit
f9ef827075
|
@ -373,11 +373,11 @@ template <typename S, typename T>
|
|||
struct bt_deserialize<std::pair<S, T>> : bt_deserialize_tuple<std::pair, S, T> {};
|
||||
|
||||
template <typename T>
|
||||
constexpr bool is_bt_tuple = false;
|
||||
inline constexpr bool is_bt_tuple = false;
|
||||
template <typename... T>
|
||||
constexpr bool is_bt_tuple<std::tuple<T...>> = true;
|
||||
inline constexpr bool is_bt_tuple<std::tuple<T...>> = true;
|
||||
template <typename S, typename T>
|
||||
constexpr bool is_bt_tuple<std::pair<S, T>> = true;
|
||||
inline constexpr bool is_bt_tuple<std::pair<S, T>> = true;
|
||||
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Reference in a new issue