backend update from Raze

* moving large allocations off the stack
* use proper printf formatters for size_t and ptrdiff_t.
* adding some missing 'noexcept'.
This commit is contained in:
Christoph Oelckers 2024-01-06 15:24:10 +01:00
commit 83aa9388ca
29 changed files with 117 additions and 109 deletions

View file

@ -234,7 +234,7 @@ public:
{
DoCopy (other);
}
TArray (TArray<T,TT> &&other)
TArray (TArray<T,TT> &&other) noexcept
{
Array = other.Array; other.Array = NULL;
Most = other.Most; other.Most = 0;
@ -256,7 +256,7 @@ public:
}
return *this;
}
TArray<T,TT> &operator= (TArray<T,TT> &&other)
TArray<T,TT> &operator= (TArray<T,TT> &&other) noexcept
{
if (Array)
{
@ -1777,14 +1777,14 @@ public:
return *this;
}
BitArray(BitArray && arr)
BitArray(BitArray && arr) noexcept
: bytes(std::move(arr.bytes))
{
size = arr.size;
arr.size = 0;
}
BitArray &operator=(BitArray && arr)
BitArray &operator=(BitArray && arr) noexcept
{
bytes = std::move(arr.bytes);
size = arr.size;