Fix a bug of the IsPlugin class
This commit is contained in:
parent
ff9c05e088
commit
bcc46e12ea
|
@ -117,7 +117,7 @@ struct IsPlugin
|
|||
return 0;
|
||||
}
|
||||
static constexpr bool value =
|
||||
(sizeof(test((TYPE *)nullptr)) == sizeof(int));
|
||||
(sizeof(test((TYPE *)nullptr)) == sizeof(char));
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Reference in New Issue