aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/memory_manager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-09 19:04:41 -0400
committerLioncash <mathew1800@gmail.com>2019-05-09 19:10:13 -0400
commitfd12788967729dc3712c23723957ab6b15d36822 (patch)
tree567b35b23b1c173235994967a9b6d7082aa8e880 /src/video_core/memory_manager.h
parent53afe47cec0bfb7ae8b78a95d15f0e081e1a84c9 (diff)
video_core/memory_manager: Default the destructor within the cpp file
Makes the class less surprising when it comes to forward declaring the type, and also prevents inlining the destruction code of the class, given it contains non-trivial types.
Diffstat (limited to 'src/video_core/memory_manager.h')
-rw-r--r--src/video_core/memory_manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h
index ade18c139..4f7b57f8e 100644
--- a/src/video_core/memory_manager.h
+++ b/src/video_core/memory_manager.h
@@ -48,6 +48,7 @@ struct VirtualMemoryArea {
class MemoryManager final {
public:
MemoryManager(VideoCore::RasterizerInterface& rasterizer);
+ ~MemoryManager();
GPUVAddr AllocateSpace(u64 size, u64 align);
GPUVAddr AllocateSpace(GPUVAddr addr, u64 size, u64 align);