Compile fixes for Android

This commit is contained in:
Connor McLaughlin
2019-11-28 01:55:33 +10:00
parent 457743e109
commit f11d357ab9
19 changed files with 187 additions and 107 deletions

View File

@ -20,7 +20,7 @@ public:
HeapArray(const this_type& copy)
{
m_data = new T[size];
m_data = new T[SIZE];
std::copy(copy.cbegin(), copy.cend(), begin());
}

View File

@ -176,7 +176,7 @@ ALWAYS_INLINE constexpr bool ConvertToBool(TValue value)
// Unsafe integer to boolean
template<typename TValue>
ALWAYS_INLINE constexpr bool ConvertToBoolUnchecked(TValue value)
ALWAYS_INLINE bool ConvertToBoolUnchecked(TValue value)
{
// static_assert(sizeof(uint8) == sizeof(bool));
bool ret;