Minor fixes

This commit is contained in:
SirLynix
2022-04-18 19:07:34 +02:00
parent c209552f81
commit 7fccfbb63e
3 changed files with 6 additions and 6 deletions

View File

@@ -165,7 +165,7 @@ namespace Nz
template<typename U>
void SparsePtr<T>::Reset(const SparsePtr<U>& ptr)
{
static_assert(std::is_convertible<U*, T*>::value, "Source type pointer cannot be implicitely converted to target type pointer");
static_assert(std::is_convertible<U*, T*>::value, "Source type pointer cannot be implicitly converted to target type pointer");
SetPtr(static_cast<T*>(ptr.GetPtr()));
SetStride(ptr.GetStride());