summaryrefslogtreecommitdiffstats
path: root/src/common/page_table.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-11-18 01:58:41 +0100
committerLioncash <mathew1800@gmail.com>2020-11-18 02:08:20 +0100
commitb3c8997829ed986c948d195bc1e7c8f66c42755e (patch)
tree9be666d43f15154ee3df2001ced3972cc31a99d7 /src/common/page_table.h
parentpage_table: Add missing doxygen parameters to Resize() (diff)
downloadyuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.tar
yuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.tar.gz
yuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.tar.bz2
yuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.tar.lz
yuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.tar.xz
yuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.tar.zst
yuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.zip
Diffstat (limited to '')
-rw-r--r--src/common/page_table.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/common/page_table.h b/src/common/page_table.h
index a5be7a668..9754fabf9 100644
--- a/src/common/page_table.h
+++ b/src/common/page_table.h
@@ -4,6 +4,8 @@
#pragma once
+#include <tuple>
+
#include "common/common_types.h"
#include "common/memory_hook.h"
#include "common/virtual_buffer.h"
@@ -47,7 +49,13 @@ struct SpecialRegion {
*/
struct PageTable {
PageTable();
- ~PageTable();
+ ~PageTable() noexcept;
+
+ PageTable(const PageTable&) = delete;
+ PageTable& operator=(const PageTable&) = delete;
+
+ PageTable(PageTable&&) noexcept = default;
+ PageTable& operator=(PageTable&&) noexcept = default;
/**
* Resizes the page table to be able to accomodate enough pages within