Sdk/EntityOwner: Make Entity* constructor implicit

This commit is contained in:
Lynix 2018-10-01 23:14:02 +02:00
parent 34787d6766
commit 5108eb8906
2 changed files with 2 additions and 1 deletions

View File

@ -214,6 +214,7 @@ Nazara Development Kit:
- Added BaseWidget::ForEachWidgetChild
- Added experimental BoxLayout class
- RenderSystem now resolve skinning before render
- EntityOwner constructor taking a Entity* is no longer explicit
# 0.4:

View File

@ -15,7 +15,7 @@ namespace Ndk
{
public:
EntityOwner() = default;
explicit EntityOwner(Entity* entity);
EntityOwner(Entity* entity);
EntityOwner(const EntityOwner& handle) = delete;
EntityOwner(EntityOwner&& handle) noexcept = default;
~EntityOwner();