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:
parent
df9b2cd9bf
commit
83aa9388ca
29 changed files with 117 additions and 109 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ public:
|
|||
|
||||
// Copy constructors
|
||||
FString (const FString &other) { AttachToOther (other); }
|
||||
FString (FString &&other) : Chars(other.Chars) { other.ResetToNull(); }
|
||||
FString (FString &&other) noexcept : Chars(other.Chars) { other.ResetToNull(); }
|
||||
FString (const char *copyStr);
|
||||
FString (const char *copyStr, size_t copyLen);
|
||||
FString (char oneChar);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue