diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-26 20:21:12 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-26 20:21:12 +0000 |
commit | 239b3ab10b460da34c490a7e06a21c984e21ffb6 (patch) | |
tree | 4ce09f5d091ffbcf063a9d0fc076659dfe9e3142 /game/activity.h | |
parent | Don't run the app by default (diff) | |
download | ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.tar.bz2 ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.tar.xz ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.zip |
Enable all Jason Turner recommended warnings
Diffstat (limited to 'game/activity.h')
-rw-r--r-- | game/activity.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/game/activity.h b/game/activity.h index f6ec609..b5fc168 100644 --- a/game/activity.h +++ b/game/activity.h @@ -19,9 +19,12 @@ public: }; using ActivityPtr = std::unique_ptr<Activity>; -template<typename T> concept ActivityConcept = std::is_base_of_v<Activity, T>; +template<typename T> +concept ActivityConcept = std::is_base_of_v<Activity, T>; template<ActivityConcept AC> class Can { public: + virtual ~Can() = default; + virtual void doActivity(AC *, TickDuration) = 0; }; |