summaryrefslogtreecommitdiffstats
path: root/src/core/tools/freezer.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-27 03:48:56 +0100
committerGitHub <noreply@github.com>2019-11-27 03:48:56 +0100
commitec0ce96c568b2b610c5218efd7faa5d9a19350f8 (patch)
tree61b5133e3cc6a9edf3b45c5fe6604493689f6769 /src/core/tools/freezer.h
parentMerge pull request #3164 from ReinUsesLisp/half-cast-float (diff)
downloadyuzu-ec0ce96c568b2b610c5218efd7faa5d9a19350f8.tar
yuzu-ec0ce96c568b2b610c5218efd7faa5d9a19350f8.tar.gz
yuzu-ec0ce96c568b2b610c5218efd7faa5d9a19350f8.tar.bz2
yuzu-ec0ce96c568b2b610c5218efd7faa5d9a19350f8.tar.lz
yuzu-ec0ce96c568b2b610c5218efd7faa5d9a19350f8.tar.xz
yuzu-ec0ce96c568b2b610c5218efd7faa5d9a19350f8.tar.zst
yuzu-ec0ce96c568b2b610c5218efd7faa5d9a19350f8.zip
Diffstat (limited to 'src/core/tools/freezer.h')
-rw-r--r--src/core/tools/freezer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/tools/freezer.h b/src/core/tools/freezer.h
index b58de5472..90b1a885c 100644
--- a/src/core/tools/freezer.h
+++ b/src/core/tools/freezer.h
@@ -5,6 +5,7 @@
#pragma once
#include <atomic>
+#include <memory>
#include <mutex>
#include <optional>
#include <vector>
@@ -75,7 +76,7 @@ private:
mutable std::mutex entries_mutex;
std::vector<Entry> entries;
- Core::Timing::EventType* event;
+ std::shared_ptr<Core::Timing::EventType> event;
Core::Timing::CoreTiming& core_timing;
};