diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-22 12:17:57 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-22 12:17:57 +0000 |
commit | fcca8bc835db65ac170d1148d52a815df8838d53 (patch) | |
tree | c28d017961cb05f6360042e7a089f10641f174b4 /game/orders.h | |
parent | Add ManyPtr which tracks specified subclasses (diff) | |
download | ilt-fcca8bc835db65ac170d1148d52a815df8838d53.tar.bz2 ilt-fcca8bc835db65ac170d1148d52a815df8838d53.tar.xz ilt-fcca8bc835db65ac170d1148d52a815df8838d53.zip |
Invert how shared/unique is specified for Collection
Template param is a pointer now, typedefs added for ease.
Diffstat (limited to 'game/orders.h')
-rw-r--r-- | game/orders.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/orders.h b/game/orders.h index ca5cfdb..840aa3c 100644 --- a/game/orders.h +++ b/game/orders.h @@ -5,7 +5,7 @@ class Objective; -class Orders : public Collection<Objective> { +class Orders : public SharedCollection<Objective> { public: [[nodiscard]] Objective * current() const; Objective * next(); |