aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/ReplayManager.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-12 22:45:30 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-12 22:45:30 +0100
commit1d1c256eea43a3d0685919ed2997e10990ef639f (patch)
tree99f85ea9d8852ba3e33a05df699f028f29d3f9d1 /src/crepe/manager/ReplayManager.cpp
parent23196be83778973d9688cc5d465e4e4a16476568 (diff)
`make format`
Diffstat (limited to 'src/crepe/manager/ReplayManager.cpp')
-rw-r--r--src/crepe/manager/ReplayManager.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/crepe/manager/ReplayManager.cpp b/src/crepe/manager/ReplayManager.cpp
index db6acb0..090a94e 100644
--- a/src/crepe/manager/ReplayManager.cpp
+++ b/src/crepe/manager/ReplayManager.cpp
@@ -1,7 +1,7 @@
#include <format>
-#include "ReplayManager.h"
#include "Manager.h"
+#include "ReplayManager.h"
using namespace crepe;
using namespace std;
@@ -32,8 +32,7 @@ void ReplayManager::play(recording_t handle) {
}
void ReplayManager::release(recording_t handle) {
- if (!this->memory.contains(handle))
- return;
+ if (!this->memory.contains(handle)) return;
this->memory.erase(handle);
}
@@ -68,7 +67,4 @@ bool ReplayManager::frame_step() {
return true;
}
-ReplayManager::State ReplayManager::get_state() const {
- return this->state;
-}
-
+ReplayManager::State ReplayManager::get_state() const { return this->state; }