Minor changes

Former-commit-id: 5954ff863d8f51d7ed47a1b84ae9ff0a5348ecce
This commit is contained in:
Lynix
2013-08-16 00:27:42 +02:00
parent 699328aa1f
commit e31a670041
3 changed files with 10 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ class NzResourceRef
static_assert(std::is_base_of<NzResource, T>::value, "ResourceRef should only be used with resource type");
public:
NzResourceRef() = default;
NzResourceRef();
NzResourceRef(T* resource);
NzResourceRef(const NzResourceRef& ref);
NzResourceRef(NzResourceRef&& ref) noexcept;
@@ -37,7 +37,7 @@ class NzResourceRef
NzResourceRef& operator=(NzResourceRef&& ref) noexcept;
private:
T* m_resource = nullptr;
T* m_resource;
};
#include <Nazara/Core/ResourceRef.inl>