Fix a bug of the IsPlugin class

This commit is contained in:
antao 2019-06-17 14:36:23 +08:00
parent ff9c05e088
commit bcc46e12ea
1 changed files with 1 additions and 1 deletions

View File

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