summaryrefslogtreecommitdiffstats
path: root/src/common/scratch_buffer.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2023-02-22 06:26:07 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2023-02-22 06:26:07 +0100
commit090bc588e5498c6a2cea136d28bfe43354aa2096 (patch)
treeb3502ca38982960bc25664b6e860c45bd062d8fb /src/common/scratch_buffer.h
parentMerge pull request #9847 from german77/timeout (diff)
downloadyuzu-090bc588e5498c6a2cea136d28bfe43354aa2096.tar
yuzu-090bc588e5498c6a2cea136d28bfe43354aa2096.tar.gz
yuzu-090bc588e5498c6a2cea136d28bfe43354aa2096.tar.bz2
yuzu-090bc588e5498c6a2cea136d28bfe43354aa2096.tar.lz
yuzu-090bc588e5498c6a2cea136d28bfe43354aa2096.tar.xz
yuzu-090bc588e5498c6a2cea136d28bfe43354aa2096.tar.zst
yuzu-090bc588e5498c6a2cea136d28bfe43354aa2096.zip
Diffstat (limited to '')
-rw-r--r--src/common/scratch_buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/scratch_buffer.h b/src/common/scratch_buffer.h
index 1245a5086..26d4e76dc 100644
--- a/src/common/scratch_buffer.h
+++ b/src/common/scratch_buffer.h
@@ -23,6 +23,7 @@ public:
buffer{Common::make_unique_for_overwrite<T[]>(initial_capacity)} {}
~ScratchBuffer() = default;
+ ScratchBuffer(ScratchBuffer&&) = default;
/// This will only grow the buffer's capacity if size is greater than the current capacity.
/// The previously held data will remain intact.