diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-25 03:50:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 03:50:26 +0200 |
commit | d84a93c9874dadfb5b564bc4713ca559d30e4318 (patch) | |
tree | fd8a5f149ff5c5f1a5c02187748b21634095b3ac /src/common/zstd_compression.h | |
parent | Merge pull request #6312 from german77/analogMapping (diff) | |
parent | zstd_compression: Make use of std::span (diff) | |
download | yuzu-d84a93c9874dadfb5b564bc4713ca559d30e4318.tar yuzu-d84a93c9874dadfb5b564bc4713ca559d30e4318.tar.gz yuzu-d84a93c9874dadfb5b564bc4713ca559d30e4318.tar.bz2 yuzu-d84a93c9874dadfb5b564bc4713ca559d30e4318.tar.lz yuzu-d84a93c9874dadfb5b564bc4713ca559d30e4318.tar.xz yuzu-d84a93c9874dadfb5b564bc4713ca559d30e4318.tar.zst yuzu-d84a93c9874dadfb5b564bc4713ca559d30e4318.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/zstd_compression.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/zstd_compression.h b/src/common/zstd_compression.h index c26a30ab9..bbce14f4e 100644 --- a/src/common/zstd_compression.h +++ b/src/common/zstd_compression.h @@ -4,6 +4,7 @@ #pragma once +#include <span> #include <vector> #include "common/common_types.h" @@ -40,6 +41,6 @@ namespace Common::Compression { * * @return the decompressed data. */ -[[nodiscard]] std::vector<u8> DecompressDataZSTD(const std::vector<u8>& compressed); +[[nodiscard]] std::vector<u8> DecompressDataZSTD(std::span<const u8> compressed); -} // namespace Common::Compression
\ No newline at end of file +} // namespace Common::Compression |