diff options
| author | 2019-05-09 19:05:50 -0400 | |
|---|---|---|
| committer | 2019-05-09 19:10:26 -0400 | |
| commit | d4bcd006b298e7a58026e2cd311d581b25731ddd (patch) | |
| tree | 609e3521abb65dc136eb0afb47165865cc25aa2f /src | |
| parent | video_core/memory_manager: Default the destructor within the cpp file (diff) | |
| download | yuzu-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.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 { | |||
| 47 | 47 | ||
| 48 | class MemoryManager final { | 48 | class MemoryManager final { |
| 49 | public: | 49 | public: |
| 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); |