Merge dc8f04a5c9 into 7a9c1ba190
This commit is contained in:
commit
b4fe4a68d5
@ -125,7 +125,14 @@ class ArgConverter : public ArgVisitor<ArgConverter<T>, void> {
|
||||
using internal::Arg;
|
||||
typedef typename internal::Conditional<
|
||||
is_same<T, void>::value, U, T>::type TargetType;
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4127)
|
||||
#endif
|
||||
if (sizeof(TargetType) <= sizeof(int)) {
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
// Extra casts are used to silence warnings.
|
||||
if (is_signed) {
|
||||
arg_.type = Arg::INT;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user