diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-09 19:05:50 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-09 19:10:26 -0400 |
commit | d4bcd006b298e7a58026e2cd311d581b25731ddd (patch) | |
tree | 609e3521abb65dc136eb0afb47165865cc25aa2f /src | |
parent | fd12788967729dc3712c23723957ab6b15d36822 (diff) |
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.h | 2 |
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 { class MemoryManager final { public: - MemoryManager(VideoCore::RasterizerInterface& rasterizer); + explicit MemoryManager(VideoCore::RasterizerInterface& rasterizer); ~MemoryManager(); GPUVAddr AllocateSpace(u64 size, u64 align); |