Update copy/move constructors/operators
Former-commit-id: b1faeeae9211a6c0ca29261d46929dc8c66ea0c4
This commit is contained in:
@@ -32,6 +32,8 @@ class NAZARA_RENDERER_API NzContext : public NzRefCounted
|
||||
|
||||
public:
|
||||
NzContext() = default;
|
||||
NzContext(const NzContext&) = delete;
|
||||
NzContext(NzContext&&) = delete;
|
||||
~NzContext();
|
||||
|
||||
bool Create(const NzContextParameters& parameters = NzContextParameters());
|
||||
@@ -47,6 +49,9 @@ class NAZARA_RENDERER_API NzContext : public NzRefCounted
|
||||
bool SetActive(bool active) const;
|
||||
void SwapBuffers();
|
||||
|
||||
NzContext& operator=(const NzContext&) = delete;
|
||||
NzContext& operator=(NzContext&&) = delete;
|
||||
|
||||
static bool EnsureContext();
|
||||
|
||||
static const NzContext* GetCurrent();
|
||||
|
||||
Reference in New Issue
Block a user