summaryrefslogtreecommitdiff
path: root/src/common/page_table.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-17 19:58:41 -0500
committerGravatar Lioncash2020-11-17 20:08:20 -0500
commitb3c8997829ed986c948d195bc1e7c8f66c42755e (patch)
tree9be666d43f15154ee3df2001ced3972cc31a99d7 /src/common/page_table.cpp
parentpage_table: Add missing doxygen parameters to Resize() (diff)
downloadyuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.tar.gz
yuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.tar.xz
yuzu-b3c8997829ed986c948d195bc1e7c8f66c42755e.zip
page_table: Allow page tables to be moved
Makes page tables and virtual buffers able to be moved, but not copied, making the interface more flexible. Previously, with the destructor specified, but no move assignment or constructor specified, they wouldn't be implicitly generated.
Diffstat (limited to 'src/common/page_table.cpp')
-rw-r--r--src/common/page_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/page_table.cpp b/src/common/page_table.cpp
index e5d3090d5..bccea0894 100644
--- a/src/common/page_table.cpp
+++ b/src/common/page_table.cpp
@@ -8,7 +8,7 @@ namespace Common {
8 8
9PageTable::PageTable() = default; 9PageTable::PageTable() = default;
10 10
11PageTable::~PageTable() = default; 11PageTable::~PageTable() noexcept = default;
12 12
13void PageTable::Resize(std::size_t address_space_width_in_bits, std::size_t page_size_in_bits, 13void PageTable::Resize(std::size_t address_space_width_in_bits, std::size_t page_size_in_bits,
14 bool has_attribute) { 14 bool has_attribute) {