Core/Thread: Fix possible infinite recursion

This commit is contained in:
Jérôme Leclercq
2017-12-13 17:42:45 +01:00
parent 192321b448
commit 9272efa159
2 changed files with 2 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ namespace Nz
NAZARA_CORE_API friend std::ostream& operator<<(std::ostream& o, const Id& id);
private:
Id(ThreadImpl* thread);
explicit Id(ThreadImpl* thread);
ThreadImpl* m_id = nullptr;
};