mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-22 12:11:17 +00:00
minor backend update from GZDoom.
This commit is contained in:
parent
57198e0232
commit
48977265ae
4 changed files with 5 additions and 5 deletions
|
@ -55,7 +55,7 @@ enum ETexMode
|
|||
};
|
||||
|
||||
// Legacy render styles
|
||||
enum ERenderStyle
|
||||
enum ERenderStyle : int
|
||||
{
|
||||
STYLE_None, // Do not draw
|
||||
STYLE_Normal, // Normal; just copy the image to the screen
|
||||
|
|
|
@ -108,7 +108,7 @@ public:
|
|||
|
||||
FBitmap(const FBitmap &other) = delete; // disallow because in nearly all cases this creates an unwanted copy.
|
||||
|
||||
FBitmap(FBitmap &&other)
|
||||
FBitmap(FBitmap &&other) noexcept
|
||||
{
|
||||
data = other.data;
|
||||
Pitch = other.Pitch;
|
||||
|
@ -122,7 +122,7 @@ public:
|
|||
|
||||
FBitmap &operator=(const FBitmap &other) = delete; // disallow because in nearly all cases this creates an unwanted copy. Use Copy instead.
|
||||
|
||||
FBitmap &operator=(FBitmap &&other)
|
||||
FBitmap &operator=(FBitmap &&other) noexcept
|
||||
{
|
||||
if (data != nullptr && FreeBuffer) delete[] data;
|
||||
data = other.data;
|
||||
|
|
|
@ -217,7 +217,7 @@ FString &FString::operator = (const FString &other)
|
|||
return *this;
|
||||
}
|
||||
|
||||
FString &FString::operator = (FString &&other)
|
||||
FString &FString::operator = (FString &&other) noexcept
|
||||
{
|
||||
assert (Chars != NULL);
|
||||
|
||||
|
|
|
@ -179,7 +179,7 @@ public:
|
|||
const char &operator[] (unsigned long long index) const { return Chars[index]; }
|
||||
|
||||
FString &operator = (const FString &other);
|
||||
FString &operator = (FString &&other);
|
||||
FString &operator = (FString &&other) noexcept;
|
||||
FString &operator = (const char *copyStr);
|
||||
|
||||
FString operator + (const FString &tail) const;
|
||||
|
|
Loading…
Reference in a new issue