aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-21 10:00:35 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-21 10:00:35 +0100
commit70b1bf50de703330436f2ae9cb103fe33cbb567e (patch)
tree6e5c9bc256ae8392f94d2d863ecd345f6246927f /src/crepe/api/Script.h
parentaa00be5fae68e4ccb7b592f1193d86f09105723a (diff)
`make format`
Diffstat (limited to 'src/crepe/api/Script.h')
-rw-r--r--src/crepe/api/Script.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h
index 373b253..8356fd2 100644
--- a/src/crepe/api/Script.h
+++ b/src/crepe/api/Script.h
@@ -127,6 +127,7 @@ protected:
Script() = default;
//! Only \c BehaviorScript instantiates Script
friend class BehaviorScript;
+
public:
// std::unique_ptr destroys script
virtual ~Script();
@@ -180,7 +181,8 @@ private:
template <>
void Script::subscribe(const EventHandler<CollisionEvent> & callback);
template <>
-void Script::subscribe(const EventHandler<CollisionEvent> & callback, event_channel_t) = delete;
+void Script::subscribe(const EventHandler<CollisionEvent> & callback, event_channel_t)
+ = delete;
} // namespace crepe