Make is_bt_tuple constexpr variables inline

Silence clang misc-definitions-in-headers warnings about it.
This commit is contained in:
Jason Rhinelander 2021-02-09 21:46:33 -04:00
parent 506bd65b05
commit f9ef827075
1 changed files with 3 additions and 3 deletions

View File

@ -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>