addChild() sollte typisierte non-owning Pointer zurückgeben, nicht size_t #6
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 25 minutes 22 seconds
Due Date
sebastian
25 minutes 22 seconds
No due date set.
Dependencies
No dependencies set.
Reference: sebastian/Dicewars-Siedler#6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem: addChild() gibt aktuell size_t zurück. Um später auf das Kind zuzugreifen, braucht man getChildAtIndex(id) + dynamic_cast:
Lösung: