summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-09 19:05:50 -0400
committerGravatar Lioncash2019-05-09 19:10:26 -0400
commitd4bcd006b298e7a58026e2cd311d581b25731ddd (patch)
tree609e3521abb65dc136eb0afb47165865cc25aa2f /src
parentvideo_core/memory_manager: Default the destructor within the cpp file (diff)
downloadyuzu-d4bcd006b298e7a58026e2cd311d581b25731ddd.tar.gz
yuzu-d4bcd006b298e7a58026e2cd311d581b25731ddd.tar.xz
yuzu-d4bcd006b298e7a58026e2cd311d581b25731ddd.zip
video_core/memory_manager: Mark the constructor as explicit
Prevents implicit converting constructions of the memory manager.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/memory_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h
index 4f7b57f8e..f69a25706 100644
--- a/src/video_core/memory_manager.h
+++ b/src/video_core/memory_manager.h
@@ -47,7 +47,7 @@ struct VirtualMemoryArea {
47 47
48class MemoryManager final { 48class MemoryManager final {
49public: 49public:
50 MemoryManager(VideoCore::RasterizerInterface& rasterizer); 50 explicit MemoryManager(VideoCore::RasterizerInterface& rasterizer);
51 ~MemoryManager(); 51 ~MemoryManager();
52 52
53 GPUVAddr AllocateSpace(u64 size, u64 align); 53 GPUVAddr AllocateSpace(u64 size, u64 align);