Add copy assignment to ecs::accessor
This commit is contained in:
parent
d66092b86d
commit
95492efea7
1 changed files with 5 additions and 1 deletions
|
|
@ -14,10 +14,14 @@ namespace psemek::ecs
|
||||||
*/
|
*/
|
||||||
accessor() = default;
|
accessor() = default;
|
||||||
|
|
||||||
/** Copy the accessor.
|
/** Copy-construct the accessor.
|
||||||
*/
|
*/
|
||||||
accessor(accessor const &) = default;
|
accessor(accessor const &) = default;
|
||||||
|
|
||||||
|
/** Copy-assign the accessor.
|
||||||
|
*/
|
||||||
|
accessor & operator = (accessor const & other) = default;
|
||||||
|
|
||||||
/** Check if this accessor is valid, i.e. refers to an entity.
|
/** Check if this accessor is valid, i.e. refers to an entity.
|
||||||
*
|
*
|
||||||
* @return True if the accessor is valid, false otherwise
|
* @return True if the accessor is valid, false otherwise
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue