Core: Remove NonCopyable
Former-commit-id: f8c6d10ad0b1abb4a32e3c867b7f24fd4bde68a4
This commit is contained in:
@@ -9,18 +9,22 @@
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Core/Enums.hpp>
|
||||
#include <Nazara/Core/NonCopyable.hpp>
|
||||
|
||||
class NAZARA_CORE_API NzErrorFlags : NzNonCopyable
|
||||
class NAZARA_CORE_API NzErrorFlags
|
||||
{
|
||||
public:
|
||||
NzErrorFlags(nzUInt32 flags, bool replace = false);
|
||||
NzErrorFlags(const NzErrorFlags&) = delete;
|
||||
NzErrorFlags(NzErrorFlags&&) = delete;
|
||||
~NzErrorFlags();
|
||||
|
||||
nzUInt32 GetPreviousFlags() const;
|
||||
|
||||
void SetFlags(nzUInt32 flags, bool replace = false);
|
||||
|
||||
NzErrorFlags& operator=(const NzErrorFlags&) = delete;
|
||||
NzErrorFlags& operator=(NzErrorFlags&&) = delete;
|
||||
|
||||
private:
|
||||
nzUInt32 m_previousFlags;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user