From d4bcd006b298e7a58026e2cd311d581b25731ddd Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 9 May 2019 19:05:50 -0400 Subject: video_core/memory_manager: Mark the constructor as explicit Prevents implicit converting constructions of the memory manager. --- src/video_core/memory_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3