mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-11-01 21:13:12 +01:00
Merge pull request #670 from redboltz/fix_variadic_template
Added missing variadic template parameters.
This commit is contained in:
@@ -59,7 +59,7 @@ private:
|
||||
decltype(adaptor::as<U>()(std::declval<msgpack::object>())),
|
||||
T
|
||||
>::type;
|
||||
template <typename>
|
||||
template <typename...>
|
||||
static std::false_type check(...);
|
||||
public:
|
||||
using type = decltype(check<T>(MSGPACK_NULLPTR));
|
||||
|
||||
@@ -91,7 +91,7 @@ private:
|
||||
v1::has_as<U>::value,
|
||||
std::true_type
|
||||
>::type;
|
||||
template <typename>
|
||||
template <typename...>
|
||||
static std::false_type check(...);
|
||||
public:
|
||||
using type = decltype(check<T>(MSGPACK_NULLPTR));
|
||||
|
||||
@@ -51,7 +51,7 @@ private:
|
||||
v1::has_as<U>::value,
|
||||
std::true_type
|
||||
>::type;
|
||||
template <typename>
|
||||
template <typename...>
|
||||
static std::false_type check(...);
|
||||
public:
|
||||
using type = decltype(check<T>(MSGPACK_NULLPTR));
|
||||
|
||||
Reference in New Issue
Block a user