Fixed missing noexcept

Former-commit-id: 58276c2ba77d0242fade3b29034f28871b48a987
This commit is contained in:
Lynix
2013-08-07 01:10:52 +02:00
parent 6507e1ed2d
commit c6f89757b6
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ class NzResourceRef
NzResourceRef() = default;
NzResourceRef(T* resource);
NzResourceRef(const NzResourceRef& ref);
NzResourceRef(NzResourceRef&& ref);
NzResourceRef(NzResourceRef&& ref) noexcept;
~NzResourceRef();
bool IsValid() const;
@@ -34,7 +34,7 @@ class NzResourceRef
NzResourceRef& operator=(T* resource);
NzResourceRef& operator=(const NzResourceRef& ref);
NzResourceRef& operator=(NzResourceRef&& ref);
NzResourceRef& operator=(NzResourceRef&& ref) noexcept;
private:
T* m_resource = nullptr;