diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-22 15:14:29 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-22 15:14:29 +0100 |
commit | 2c2855b77a8a1a6e21a26fea5c5735dfbbc6066d (patch) | |
tree | 23452c82366410397ab6fd9f459bec33b3c73637 /src/crepe/system/CollisionSystem.h | |
parent | 3c7fada86fd4145f2f9ca4f7af4bbacb6ebc6f65 (diff) |
fixed merge master
Diffstat (limited to 'src/crepe/system/CollisionSystem.h')
-rw-r--r-- | src/crepe/system/CollisionSystem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/system/CollisionSystem.h b/src/crepe/system/CollisionSystem.h index d94f6bc..69d1d23 100644 --- a/src/crepe/system/CollisionSystem.h +++ b/src/crepe/system/CollisionSystem.h @@ -22,7 +22,8 @@ public: private: //! A variant type that can hold either a BoxCollider or a CircleCollider. - using collider_stor = std::variant<BoxCollider, CircleCollider>; + // using collider_stor = std::variant<BoxCollider, CircleCollider>; + using collider_stor = std::variant<std::reference_wrapper<BoxCollider>, std::reference_wrapper<CircleCollider>>; /** * \brief A structure to store the collision data of a single collider. |