Browse Source

video_core/memory_manager: Mark the constructor as explicit

Prevents implicit converting constructions of the memory manager.
nce_cpp
Lioncash 7 years ago
parent
commit
24e9c43cf1
  1. 2
      src/video_core/memory_manager.h

2
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);

Loading…
Cancel
Save