Fix MSVC "signed/unsigned mismatch" warning. NFCI.

llvm-svn: 336649
This commit is contained in:
Simon Pilgrim 2018-07-10 09:46:57 +00:00
parent b251f62428
commit c048599f22
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ template <typename FunctionT> class unique_function;
template <typename ReturnT, typename... ParamTs>
class unique_function<ReturnT(ParamTs...)> {
static constexpr int InlineStorageSize = sizeof(void *) * 3;
static constexpr size_t InlineStorageSize = sizeof(void *) * 3;
// MSVC has a bug and ICEs if we give it a particular dependent value
// expression as part of the `std::conditional` below. To work around this,