refactor(miscellaneous): clarify which fundamental types are used where

This commit is contained in:
2024-11-24 20:09:31 +08:00
parent 54c795b9a2
commit bcc39fdf55
3 changed files with 13 additions and 13 deletions

View File

@ -75,7 +75,7 @@ public:
// Make sure you call this function after you have destroyed the held object using Destroy().
template <typename T, typename U>
FORCEINLINE constexpr void Emplace(intptr InCallable, U&& Args)
FORCEINLINE constexpr void Emplace(uintptr InCallable, U&& Args)
{
static_assert(CSameAs<TDecay<T>, TDecay<U>>);
ValuePtr = reinterpret_cast<uintptr>(AddressOf(Args));