Summary:
[Folly] Cut extraneous typename in `StringKeyedCommon.h`.
In this case, `typename` is optional, and, to avoid confusion, should be removed.
"In this case" means in a template definition, with a qualified non-dependent name.
Reviewed By: ericniebler
Differential Revision:
D4792087
fbshipit-source-id:
dbb9d2c747432a1f9bc8823e72a7668e78a2fbaa
auto size = piece.size();
auto keyDup = typename Alloc::template rebind<char>::other(alloc)
.allocate(size);
- memcpy(keyDup, piece.data(), size * sizeof(typename StringPiece::value_type));
+ memcpy(keyDup, piece.data(), size * sizeof(StringPiece::value_type));
return StringPiece(keyDup, size);
}