aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-09 19:05:50 -0400
committerLioncash <mathew1800@gmail.com>2019-05-09 19:10:26 -0400
commit24e9c43cf152e9224f3469e2cb01fd4f81bccfd2 (patch)
tree609e3521abb65dc136eb0afb47165865cc25aa2f /src
parentcb867f250ae447ca371d30bb193405445674aac2 (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.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 4f7b57f8e4..f69a257065 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);