Update copy/move constructors/operators
Former-commit-id: b1faeeae9211a6c0ca29261d46929dc8c66ea0c4
This commit is contained in:
@@ -21,6 +21,8 @@ class NAZARA_GRAPHICS_API NzColorBackground : public NzAbstractBackground
|
||||
{
|
||||
public:
|
||||
NzColorBackground(const NzColor& color = NzColor::Black);
|
||||
NzColorBackground(const NzColorBackground&) = default;
|
||||
NzColorBackground(NzColorBackground&&) = delete;
|
||||
|
||||
void Draw(const NzAbstractViewer* viewer) const;
|
||||
|
||||
@@ -29,6 +31,8 @@ class NAZARA_GRAPHICS_API NzColorBackground : public NzAbstractBackground
|
||||
|
||||
void SetColor(const NzColor& color);
|
||||
|
||||
NzColorBackground& operator=(NzColorBackground&&) = delete;
|
||||
|
||||
template<typename... Args> static NzColorBackgroundRef New(Args&&... args);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user